Quote:
Originally Posted by Sarcoth
I'd like to require the userid field to only accept 1-4 numbers. I tried entering the following for the Regular Express: [0-9]{1-4}
That is causing some red text to appear over the question when entering anything into the field. Is the regular expression wrong or?
|
You need a / at beginning and end of the string.
Also a $ (dollar sign) before last slash so it matches the whole string.