I really need a JavaScript username regex as:
- must start with a letter
- from 5-20 characters.
- allows the following special characters after the first letter:
_-.@
- allows for all letters and numbers after the first character (including accented characters).
I am pretty new to regex, and I read this which seems sort of close:
/^[a-zA-Z][a-zA-Z\d-_\.@]+$/
but it does not allow for accented characters (i.e. é) after the first character.