$text = eregi_replace("\%(.*)\%", "", $text);
Hi !
I have this text
I'm looking for the PHP code that can loop thru the $text and remove the any string start with %xxxx%Code:<?php $text =<<<EOF <FORM> <input type=text name=name value="%name%"> <input type=text name=age value="%age%"> <input type=text name=email value="%email%"> </FORM> EOF; ?>
Thanks for your help again.
$text = eregi_replace("\%(.*)\%", "", $text);
There are 3 kinds of people: the ones who can count and the others who cannot
Bookmarks