P.S. Everything you ever wanted to know :-) about RegEx in Delphi is here http://www.regular-expressions.info/delphi.html.

At 02:48 PM 10/26/2011, SoftTech wrote:
Greetings Kyle,

Do you know of any available that will work with Delphi 5.1 and Delphi 2010 that are current?

I have been able to find just one so far www.regexpstudio.com but it has not been updated since 2014.

Thanks,
Mike

----- Original Message ----- From: "Kyle Cordes" <k...@kylecordes.com>
To: "Delphi-Talk Discussion List" <delphi-talk@elists.org>
Sent: Wednesday, October 26, 2011 3:12 PM
Subject: Re: Extract a phone number from a memo


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

So what is the best way to extract any phone numbers that may be found in
the memo?


My suggestion is to do this using a regular expression library and
well formed regex.

Why?

1) Less code to write. Probably a few lines of code.

2) You can very likely find a regex that someone else has written,
that handles the wide variety of phone number formats to be found "in
the wild".



--
Kyle Cordes
http://kylecordes.com
__________________________________________________
Delphi-Talk mailing list -> Delphi-Talk@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk

--
MailScanner Virus/Spam/Malware: PASS (GZ)

__________________________________________________
Delphi-Talk mailing list -> Delphi-Talk@elists.org
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