Created
July 10, 2019 21:28
-
-
Save ddre54/06edac9915de6af617942375620c49a3 to your computer and use it in GitHub Desktop.
Grep Emails from File
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 -E -o "\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,6}\b" log_file.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment