vi $(grep -rIl '' .)
Showing posts with label grep. Show all posts
Showing posts with label grep. Show all posts
Thursday, October 13, 2011
Friday, April 15, 2011
Grepping for email addresses
I needed to make sure we didn't have any test emails in use on a recent project. This came in handy:
I'm aware regex email searching is actually more complex than this, but this regex worked well in this instance.
grep -srhw --exclude=*.{jp g,jpeg,gif,png} "[[:alnum:]]\+@ [[:alnum:]]\+" .I'm aware regex email searching is actually more complex than this, but this regex worked well in this instance.
Subscribe to:
Posts (Atom)
