SyntaxFix
Write A Post
Hire A Developer
Questions
It might be beneficial to add greedy matching to the end of the string, so you can accept strings > than 10 and the regex will only return up to the first 10 chars. /^[a-z0-9]{0,10}$?/
/^[a-z0-9]{0,10}$?/