Created
April 1, 2016 03:31
-
-
Save quickgrid/a24548b90576e69e7b162a6a010c656b to your computer and use it in GitHub Desktop.
Bash GREP regex match exact email addresses and show in terminal with color highlight.
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
#!/bin/bash | |
grep --color -E -w "^[A-Za-z0-9._]+@[A-Za-z0-9.]+\.[A-Za-z]{2,6}" "EmailAddress.txt" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment