Regex match exactly n times or exactly n1 times ? - 31/01/04 05:02 PM
I trying some think like that /^[a-z]{6}|[a-z]{10}$/ but it work like /^[a-z]{6,}$/ ;] I need to match only 6 or 10..
Can anyone explain me why it work like that.. And make it works correctly ?
Can anyone explain me why it work like that.. And make it works correctly ?