I would like to have a regular expression that checks if a string contains upper and lowercase letters, numbers, and underscores as well as a character limit. These are the only Types allowed in the string.
However, the string does not have to contain all of the specified arguments.
Meaning that the string could be alphanumeric or alphanumeric with underscores or just numbers or just letters ETC.
I followed the suggestions provided here: Regular Expression for alphanumeric and underscores
and came up with the following Expression: ^([a-zA-Z0-9_]){3,15}$
So the Question is: What Is wrong with my REGEX?