Last active
March 6, 2017 08:48
-
-
Save J535D165/7e729226db585c88b2ba5028f11a555d to your computer and use it in GitHub Desktop.
Python Regular Expressions
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
# Dutch zip code matcher | |
r"[\bNL-]*(?P<pc4>\d{4})\s*(?P<pc6>[A-Za-z]{2})\b" | |
# Email matcher | |
r"(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment