how to specify number of characters in javascript pattern code example
Example: numbered occurences in regex
/^[a-z]{0,10}$/
{3} exactly 3
{6,} at least 6
{2,5} 2 to 5
/^[a-z]{0,10}$/
{3} exactly 3
{6,} at least 6
{2,5} 2 to 5