RE: [PHP] anyone have...
| From: | Jason Murray | Date: | Tue, 23 Oct 2001 23:33:55 +0000 |
| Subject: | RE: [PHP] anyone have... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-72021@lists.php.net to get a copy of this message | ||
Try:
ereg_replace("[^a-zA-Z]", "", $string)
Jason
--
Jason Murray
jasonm@melbourneit.com.au
Web Developer, Melbourne IT
"Work now, freak later!"
> -----Original Message-----
> From: Jack Dempsey [mailto:dempsejn@georgetown.edu]
> Sent: Wednesday, October 24, 2001 9:02 AM
> To: Jay Paulson; php-general@lists.php.net
> Subject: RE: [PHP] anyone have...
>
>
> would need to check, but:
>
> preg_replace("/[^a-zA-z]/",'',$data)
>
> should about do it...
>
> jack
>
> -----Original Message-----
> From: Jay Paulson [mailto:jpaulson@lbjs.com]
> Sent: Tuesday, October 23, 2001 6:50 PM
> To: php-general@lists.php.net
> Subject: [PHP] anyone have...
>
>
> 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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>