I'd like to find a way to match the length of an input as well as the characters inside that input using javascript. Normally I'd just use the jquery plugin for validation, but for the client we can't use any 3rd party modules.
The input requires a string of characters between 6-13 but also does not allow the < or > characters within the values.
I'd like a way to check both the length of the string to make sure its between 6-13 but also reject the string if it contains < or >. I'm assuming this can be done with Regex, but my skills are severely lacking. The user should be able to see a message based on length and incorrect characters depending on what they are typing. Any quick methods out there?