Mythicsoft Knowledge Base

Full Text Search
»

How to extract unique email addresses from a group of files

RSS
FileLocator Pro's XML export and XSLT custom formatting features allow for some powerful export operations.

Example: Exporting unique email addresses from files

1. Open FileLocator Pro

2. In the 'File name' field specify the group of files to search through, e.g. *.txt

3. In the 'Containing text' field specify a regular expression to find emails, e.g.
\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b

4. Run the search

5. When the search has finished browse the results to make sure they're correct

6. Click the Export Results button, or choose 'Export Results...' from the File menu

7. In the Export Results dialog change the Format to be 'Custom (XSLT)' select the transform:
C:\Program Files\Mythicsoft\FileLocator Pro\Sample Transforms\unique_hits_only.xsl

8. Click the Export button

You should find that a complete unique list of email addresses has been exported to the specified location.

Mythicsoft KB powered by ScrewTurn Wiki. Some of the icons created by FamFamFam.