I would like to match string of two consecutive alphabets like AA, BB not AB, BD. Python 3.x is my language. Please consider valid alphabets would be capitalized. The followings are examples for valid and not valid strings: To be honest, ^[A-Z]{2} would not work.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments