regular expression
| From: | CL Yong | Date: | Mon, 25 Sep 2000 04:03:16 +0000 |
| Subject: | regular expression | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-17380@lists.php.net to get a copy of this message | ||
Does php3 can support regular expression like "ereg_replace",
"eregi","split"...
It always prompt me "document content no data" why??? help!!!
example:
<? php
$string = "This is a test";
$string = ereg_replace( "is"," was",$string);
echo ($string);
?>