Re: pattern matching for the dot-sign
| From: | CPT John W. Holmes | Date: | Thu, 05 Jun 2003 12:10:56 +0000 |
| Subject: | Re: pattern matching for the dot-sign | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150332@lists.php.net to get a copy of this message | ||
> I am looking for a way to replace "." (=dot) to "," in a string with
either
> ereg_replace or preg_match . I read the manual in PHP on Pattern matching
> for preg_match but could not immediately trace it.
> All help appreciated.
If that's all you need to do, use str_replace().
---John Holmes...