Last active
October 17, 2018 12:32
-
-
Save KartaviK/b6cd8eada06352ae40ad07cae54d456a to your computer and use it in GitHub Desktop.
Perfect for ukrainian passport validation
This file contains hidden or 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
clean regex: | |
^[ыЫа-яА-Яa-zA-ZіІєЄґҐїЇ]{2}\d{6}$ | |
php: | |
/^[ыЫа-яА-Яa-zA-ZіІєЄґҐїЇ]{2}\d{6}$/u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment