grep email regular expression grep -E -o "[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+.[A-Za-z]{2,6}" Published by Rich Just another IT guy. View all posts by Rich