in reply to Re: Re: Regular Expression Question
in thread Regular Expression Question

The character class is negated, note where the ^ is...
! /[^a-zA-Z0-9,]/
...however I'm not sure the double negative is faster enough to warrant not just doing the more obvious...
/^[a-zA-Z0-9,]+$/
...it's also not stated whether /^$/ is valid or not, which is different for the above two.
--
James Antill