Finding Email Address and Phone Numbers in Text
Mike Whitaker
mike at altrion.org
Fri Jan 7 15:15:11 GMT 2011
The slightly cynical answer is 'find out what Apple's Mail.app does and steal it" :D :D
On 7 Jan 2011, at 10:29, Dave Cross wrote:
>
> What's the state of the art in detecting email address and phone numbers
> in text? Unfortunately, the Regexp::Common docs say:
>
> Future releases of the module will also provide patterns for the
> following:
>
> * email addresses
> * HTML/XML tags
> * more numerical matchers,
> * mail headers (including multiline ones),
> * more URLS
> * telephone numbers of various countries
>
> Email::Find looks nice. Is there something similar for phone numbers
> anywhere?
>
> Cheers,
>
> Dave...
>
> --
> Dave Cross :: dave at dave.org.uk
> http://dave.org.uk/
> @davorg
More information about the london.pm
mailing list