This is my code :
ereg("<!--start-->(.*)<!--stop-->", $lineofhtml, $output);

The problem is that, with <!--start-->(.*)<!--stop--> it matches everthing
from the first <!--start--> to the last <!--stop-->... hence it appears its
all in one array... what I need to do is tell it to stop at the first
<!--stop--> and I can't figure out how to do that... any ideas?

Kunal Jhunjhunwala

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to