preg_match('/[^a-z0-9]/i', $stringToSearch);
http://www.php.net/preg_match
> -Original Message-
> From: Matt Babineau [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 17, 2002 10:56 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Searching a string for e
Cold Fusion has RegEx to do this with. If I want to search a string
looking for anything non 0-9 and non a-z what should I be looking at?
Could I do:
$EXPR = "non a-z, non numerical";
strstr($SEARCH_STRING, $EXPR)
I hope this makes sense, I am not sure what PHP calls this type of
searching but