Created
April 3, 2013 16:51
-
-
Save JoshuaCarroll/5303018 to your computer and use it in GitHub Desktop.
This is a regular expression that will validate all email addresses in DISA's enterprise email system (aka "mail.mil").
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
((.*?(\.).*?(\.)(civ|mil|ctr|nfg)(@mail\.mil))|(.*?(\.)(([a-z])(\.)).*?(\.)(civ|mil|ctr|nfg)(@mail\.mil))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment