October 2nd, 2008, 09:02 AM
Regex name test
im trying to create a regex pattern for a name field. Basically, I want to throw an error only if the user types in certain strings
otherwise, even if the field is empty, the field should be true.
this is the pattern i created,but it does not seem to work if I have a empty space in the field:
October 2nd, 2008, 12:57 PM
So you don't want ! ? < > in the field? Up to 40 characters?
That checks if it is valid (as opposed to checking if it's invalid).