Hi,
I need help with the regular expression. I'm trying to create for an maximum lenght of xx characters (including white space, comma, question mark, etc...).
For exampe:
Hello! My address is, @gmail.com. Right?
This is about 40 characters.
I've tried this but is does not work.
^[A-Za-z0-9-/s][^]{0,10}$
I had many reg expressions, but not used in years.
There is one that may have worked
^([^\r\n]{1,14}(\r?\n|$)){1,5}$
This if for 1-14 characters and 1-5 Lines.
^([0-9a-zA-Z!@#$%&-_=+ ]){1,22}$
This was for 1-22 characters, spaces on one line.
Bob
I had many reg expressions, but not used in years.
There is one that may have worked
^([^\r\n]{1,14}(\r?\n|$)){1,5}$
This if for 1-14 characters and 1-5 Lines.
^([0-9a-zA-Z!@#$%&-_=+ ]){1,22}$
This was for 1-22 characters, spaces on one line.
Bob
Hi Bob,
Thank you. Will try this.
Gr,
Dennis