Related questions
Regex to restrict UPPERCASE only
I am stil struggling with understanding how Regex works exactly.
I am getting usernames and they are in this format:
firstname.lastname
Both names may contain special international characters and they may contain an ' or - but I just …
Regex for Passport Number
I am trying to implement regex validation for passport number.
My requirement is
Length should be minimum 3 characters to a maximum of 20 characters.
Should not be only 0's
I tried with the below regular expression
^(?!0{3,20})[a-zA-Z0-9]{3,20}$
This seems to …