I am trying to get an angular ng-pattern to check that a username has no whitespaces or special characters. The following form return false if you enter whitespaces or special c
in case anyone needs to disallow user entering emails in the address field
ng-pattern="/^[^@]+$/"
Please enter a valid address