How do you extract email addresses?
There are various ways to extract only email addresses from a document and output those addresses in another document, using EmEditor. Here are two easy ways to do this:
- Go to Search > Extract Frequent Strings… Select Mail Addresses and change the Number of Lines in the Output to a large number that is more than the number of email addresses in your document. Click OK.
- Use the Find feature under Search (or Ctrl + F) with a regex pattern for email addresses. Select Regular Expressions and copy and paste the regex pattern below into the Find: field. Click Extract.
\S+@\S+\.\S+
Using the first method, I extracted the email addresses from the left image, to produce the output shown in the right side.