I am currently working with java regexes attempting to match a username with the following conditions:
- Must start with letter (upper or lower case)
- Must be no more than 8 chars in length
- May have digits, but they must be at the end (so sjh23 would match but not sj23h)
I know to start with ^[A-Za-z] and the length can be managed with {0,7} but I don't know how to make it so any digits would be a suffix.
Thanks for any help.