[PHP] pattern matching for the dot-sign

2003-06-05 Thread Wim Paulussen
LS,

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.

Wim


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] pattern matching for the dot-sign

2003-06-05 Thread CPT John W. Holmes
 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...


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php