Hey im looking for resolution to my problem at PHP. How to create regular expression which will check that I get two of the same letter from range [a-c].No matter in what order. Just about checking whether there are exactly 2.
For example i used it but it doesnt work as I want.
/a{2}b{2}c{2}/