As for the regex, I can see nothing wrong with it!
preg_match("!^(.+)<hr>!s", $content, $_index1);
This says capture everything in from the beginning of the text to just
in front of <hr>. Easy. But no output!
thats what we need to find out.. If it is a problem in PHP/PCRE, in the XSL sheets (missing the <hr>), etc..
To capture the $content and the output of $index_1 and $index_2.
I'm doing a complete rebuild, so will take a couple of hours to get the
file out.
Many thanks. When it finishes, please send me those files.
Thanks,
Nuno