$new = preg_replace('/[^a-zA-Z]/','',$old);

On Tue, 23 Oct 2001, Jay Paulson wrote:

> anyone have a function that strips out all the characters in a string that
> are no a-z or A-Z?
> 
> thanks...
> 
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to