hi... i have a problem whit regular expressions "again"...the problem is that, i want to validate a expression like " AAA ", or any expression with more than two caracter in repetition. I don't know how can i do that...
Please somebody help me.....
Thank a lot
blue.
You can put the number of times that the character should be repeated in curly braces in the regular expression.
ex. " A{3} " A must occur 3 times.
ex. " A{1,3} " A can occur between 1 and 3 times.
Actually, if you want to match any number of repeated characters... you can do use A{1,} which will match a minimum of one and any other that is higher.