I need the regular expression that would limit the number of characters to 100 and allow the use of 0-9, !@.,;:'"?- and all lower and upper case letters
^(.{1,100})$
.
This will allow all the characters numbers and special characters also
{1,100}
this the range you need to specific like min and max count
/^[0-9A-Za-z!@.,;:'"?-]{1,100}\z/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With