> thinking it may be easier to parse for only allowed characters.
*much* better idea. Try:
preg_match('/[^\w]/', $string)
to find all non-alphanumeric+underscore
--
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]
- [PHP] regex for cleaning up username Dave
- [PHP] Re: regex for cleaning up username CC Zona
- RE: [PHP] regex for cleaning up username maatt
- RE: [PHP] regex for cleaning up username Dave
- Re: [PHP] regex for cleaning up username CC Zona
- [PHP] PHP & Imagemagick Weston Houghton
- Re: [PHP] PHP & Imagemagick Tom Carter
- Re: [PHP] PHP & Imagemagick Weston Houghton
- Re: [PHP] PHP & Imagemagick Alexander Skwar

