Re: Detect phone number in NSString
Re: Detect phone number in NSString
- Subject: Re: Detect phone number in NSString
- From: Uli Kusterer <email@hidden>
- Date: Wed, 16 Apr 2008 18:53:37 +0200
Am 16.04.2008 um 10:47 schrieb Brad Peterson:
So, if I had some text, say : "Hi Tom, Please call
Cheryl at 444-555-6767 and she can get you that
info..." I want to be able to "know" that 444-555-6767
is a phone number and should be marked as such.
Apple has this in Mail. No idea whether there's a public API, but in
ye olde days this technology was called "Apple Data Detectors", maybe
that'll help you google something up? Otherwise, see what Apple calls
it in the Mail.app docs, maybe that term will bring up a related API.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden