I suppose this could fall into any language category that utilizes regular expressions; Anyways, I'm trying to do a simple test on a string (a username) to ensure that it only contains 6 to 20
alphanumeric characters. My pattern line is as follows: Code: $pattern = "/[A-Za-z0-9]{6,20}/"; Now, it works sort of, but if someone were to enter a string such as this:...