Extract email address from a text file - Linux Tutorials - Learn Linux Configuration

A following perl script and regular expression extracts all email addresses from an given text file. Sample text:


This is a companion discussion topic for the original entry at https://linuxconfig.org/extract-email-address-from-a-text-file