preg
| From: | Zac Hillier | Date: | Tue, 11 Jun 2002 23:01:11 +0000 |
| Subject: | preg | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-101640@lists.php.net to get a copy of this message | ||
Does anyone know how I can use preg or any other function to identify a
double letter on the end of a string and then replace it.
So 'foo' would become 'f2' and 'bar' would not change.
Thanks
Zac