Usefull regular expresions

Search for all the emails in your source code or HTML files

This is one usefull regular expresions to search all the emails inside source code or HTML files

grep -E -o "\b[a-zA-Z0-9.-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9.-]+\b" -r -i /var/www/

Enjoy!

Usefull regular expresions, 3.0 out of 5 based on 1 rating

Potrebbe interessarti anche:

Iscriviti alla newsletter

  • HowTo e Tutorial su Linux e Ubuntu
  • Wordpress, Perl & Webmin
  • VoIP, Asterisk, SIP

Cosa stai aspettando?