top of page

The Official Regex Search for Email Addresses

RFC 5322 (request for comments) is a standard for internet message formats established by Qualcomm. See the Tip of the Night for November 28, 2015. The site of the developers of PowerGrep discusses an official regular expression search for any email addresses which can comply with the RFC 5322 format, which is also referenced here, and copied here:


This regular expression is designed to find any email address that is permitted under the RFC 5322 protocol. I tested it tonight using NotePad++ and it seems to work well.

Note this Regex does not account for protocols which enforce a limit on the number of characters in an email address.

bottom of page