Re: string filtering

From: Date: Wed, 21 Jul 2004 07:21:51 +0000
Subject: Re: string filtering
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-191277@lists.php.net to get a copy of this message
Hello http://bg2.php.net/manual/en/function.preg-match.php Regards Bogomil http://spisanie.com/indexen.php - WebDevMagazine C.F. Scheidecker Antunes wrote:
Hello all, I need to filter some strings. They can only contain characters like a...z or A..Z and 0..9. Some strings have blank spaces, -,./?>,< characters that must be discarded. I wrote a function to check each and every character but I guess there must be something else more efficient. Any suggestions? Thanks in advance.


« previous php.general (#191277) next »