in reply to Capture Email address

Since the regexp to match an email address can become grotesquely complex (and still not work 100% of the time), you might as well utilize the work that's already been done on the subject... Email::Find.

The description of that module is: "Find RFC822 email addresses in plain text."


Dave

Replies are listed 'Best First'.
Re^2: Capture Email address
by vek (Prior) on Jun 20, 2004 at 18:08 UTC

    I second the Email::Find recommendation. I've used it in the past to do exactly the same kind of thing the OP is describing.

    -- vek --