Code: Select all
$temp = preg_replace('/[^a-z]/ig', '', $temp);Thus:
Code: Select all
$temp = 'The quick/Brown fox/Jumped over - the lazy dog';Code: Select all
$temp = 'ThequickBrownfoxJumpedoverthelazydog';Also...
when I use the above REGEX...I don't suppose this is portable to other languages other than English???
What I mean is...in french...some characters have that little apostrphe, but are still considered valid characters in the range of A-Z aren't they???
Cheers