Showing posts with label grep. Show all posts
Showing posts with label grep. Show all posts

grep email address from file

grep -E -o "\b[_a-zA-Z0-9.-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9.-]+\b"

E=extended regex
o=only print matching string