Have any idea about regular expression ?
I posted this question to other newsgroup, but I'm still hungry for it.
I tried to change any numeric characters to Zero like following;
$aaa = ereg_replace ("|0-9|", "0", $sentence);
This seems working perfect.
My question is how I can do this function only for outside of html tags.
I don't want any numeric characters to be changed inside html tags.
Thanks for further response.
Regards,
Mo
I posted this question to other newsgroup, but I'm still hungry for it.
I tried to change any numeric characters to Zero like following;
$aaa = ereg_replace ("|0-9|", "0", $sentence);
This seems working perfect.
My question is how I can do this function only for outside of html tags.
I don't want any numeric characters to be changed inside html tags.
Thanks for further response.
Regards,
Mo
Comment