Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 650569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:04:03+00:00 2026-05-13T22:04:03+00:00

I have a UITextView in which i have 5 hyperlinks and 5 phone numbers.How

  • 0

I have a UITextView in which i have 5 hyperlinks and 5 phone numbers.How do i get all those hyperlinks and phone numbers in a NSarray?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T22:04:03+00:00Added an answer on May 13, 2026 at 10:04 pm

    One option is to use RegexKitLite‘s componentsMatchedByRegex: method. You can then use a regular expression to find the appropriate parts of the text, and you’ll get the results returned as an array.

    You can use RegExr to experiment with your specific regular expressions, and use the “Community” to find pre-built regular expressions that find phone numbers and hyperlinks. (They’re there, I checked!)

    RegexKitLite compiles right into your app, so there’s no problem using it on the iPhone. Good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an UITextView which can have multiple lines. All I'm interested in is
I have UIViewController which contain UIImageView and UITextView . All views (and their frames)
I have HTML Content which was being displayed in a UITextView . The next
I have a XIB file with a UITextView, which I'm associating with a UITextView*
I'm writing iPhone/iPad application. I have UITextView in which I automatically appending text. How
I have a ViewController on which there is a UITextView. On swipe let/right i
I have a keyboard which edits text in a UITextView and tapping the return
I have one UITextView which is on the bottom of view. When user tap
I have a simple UITextView in which I display some links. The UITextView automatically
In my app I have a UILabel which is the title and a UITextView

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.