• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Detect phone number in NSString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Detect phone number in NSString
      • From: Graham Davison <email@hidden>
References: 
 >Detect phone number in NSString (From: Brad Peterson <email@hidden>)

  • Prev by Date: Re: Enabling File Open/Save etc in a non-document-based application
  • Next by Date: Re: Detect phone number in NSString
  • Previous by thread: Re: Detect phone number in NSString
  • Next by thread: Re: Detect phone number in NSString
  • Index(es):
    • Date
    • Thread