Posted by Sanders Kaufman on 11/04/07 00:40
"ZeldorBlat" <zeldorblat@gmail.com> wrote in message
news:1194132213.720935.66780@22g2000hsm.googlegroups.com...
> On Nov 3, 6:14 pm, "Sanders Kaufman" <bu...@kaufman.net> wrote:
>> I'm doing a check for only alpha-numerics, but I wanna try it with a
>> regex.
>> Something like this:
>>
>> $bReturn = is_alphanum($sString).
>> Can somebody help me do this with regular expressions?
>
> Any particular reason you really need a regex? Why not use this:
> <http://www.php.net/ctype_alnum>
Well *&#()) me in my ()*&#$)*!!!!
You wouldn't believe the dumbass string looping I've done trying to do that
kinda thing.
Thanks!!
[Back to original message]
|