Re: keeping the dot
| From: | bvr | Date: | Mon, 04 Mar 2002 10:28:06 +0000 |
| Subject: | Re: keeping the dot | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-87068@lists.php.net to get a copy of this message | ||
I think he was trying to say you should take a look at the manual regarding regular expressions.
Once you get to the part that explains what [^ ] actually does you see how obvious the answer is.
However, the synical reply from LuC isn't correct.
To match the dot character (.) you should use escape it like this: \.
Otherwise the dot will match any character for it's a 'wildcard' and the result of your replace will be empty.
bvr.
Websitecd@aol.com wrote:
Try thinking?Don't be a jerk.