Created
April 5, 2011 04:02
-
-
Save zedtux/902997 to your computer and use it in GitHub Desktop.
Check string contains only group of two characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
regex: ^([A-Z]{2}\b\s*)+$ | |
good_string = "AB CD EF GH" | |
bas_string = "AB CD EFE GH" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment