One way would be to remove all spaces, dashes, parens and the like between
numbers then search for 10 digit and possibly 7 digit numbers. The other
option is to RegEx for all the various patterns. There cannot be that many
phone patterns out there.

On Wed, Oct 26, 2011 at 1:28 PM, SoftTech <mi...@softtechks.com> wrote:

> Greetings All,
>
> Does anyone know how to find a Phone number found in a memo or richedit?
>
> For instance there could be say a dozen lines in the memo any one of which
> might contain a phone number like (555) 555-5555 or 555-555-5555, etc.
>
> So what is the best way to extract any phone numbers that may be found in
> the memo?
>
> Thanks to all who reply.
>
> Mike
> ______________________________**____________________
> Delphi-Talk mailing list -> Delphi-Talk@elists.org
> http://lists.elists.org/cgi-**bin/mailman/listinfo/delphi-**talk<http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk>
>
__________________________________________________
Delphi-Talk mailing list -> Delphi-Talk@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk

Reply via email to