Hi Kunal, > ereg("<!--start-->(.*)<!--stop-->", $lineofhtml, $output);
ereg("<!--start-->([^<!--stop-->]*)<!--stop-->", $lineofhtml, $output); -- Jimmy ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ It's not what you have in your life that counts, but who you have in your life -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]