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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php