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 7844881
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T17:02:22+00:00 2026-06-02T17:02:22+00:00

I have a lengthy string as below Please plan to attend to provide upgrade

  • 0

I have a lengthy string as below

Please plan to attend to provide upgrade to existing code

morning meeting to acoomdate bum team members

Meeting Number: 457 231 123


To join this meeting

  1. go to http://domainname.com
  2. enter password

Now i want to grab number after the text “Meeting Number”
i.e. 457 231 123

Any help please.
thanks

EDIT

Lets say i have a string

NSString *myString = @"Please plan to attend to provide upgrade to existing code morning meeting to acoomdate bum team members  Meeting Number: 457 231 123 ----------------------------------------------------- to join this meeting ------------------------------------------------------  1. go to http://domainname.com 2. enter password"
  • 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-06-02T17:02:25+00:00Added an answer on June 2, 2026 at 5:02 pm

    You may use regular expressions to capture the numbers also (assuming that there is only numeric characters and spaces in the result, and there is always the “Meeting Number: ” prefix):

    NSString *text = @"Please plan to attend to provide upgrade to existing code\nmorning meeting to acoomdate bum team members\nMeeting Number: 457 231 123\nTo join this meeting\n\ngo to http://domainname.com\nenter password";
    NSError *error = nil;
    NSRegularExpression *regex = [NSRegularExpression regularExpressionWithPattern:@"Meeting Number: ([0-9 ]+)" options:NSRegularExpressionCaseInsensitive error:&error];
    NSArray *matches = [regex matchesInString:text
                                      options:0
                                        range:NSMakeRange(0, [text length])];
    for (NSTextCheckingResult *match in matches) {
        NSRange matchRange = [match rangeAtIndex:1];
        NSString *result = [text substringWithRange:matchRange]; // Here is the result
    }
    

    this can be used to parse multiple inputs together since we have a loop here. If the requirements is just to parse one input, replace the code after the declaration of the regex with:

    NSTextCheckingResult *match = [regex firstMatchInString:text
                                                    options:0
                                                      range:NSMakeRange(0, [text length])];
    if (match) {
        NSRange matchRange = [match rangeAtIndex:1];
        NSString *result = [text substringWithRange:matchRange];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

currently I have the following code: String select = qry.substring(select .length(),qry2.indexOf( from )); String[]
In the code below in lesson2() i have used a password to enter the
I have the code below. I want to send the value of value1 n.value1s
I wrote below code to compare to arrays that have same elements but in
Code below contains a JS function that receives as parameter String €€ (Euro sign).
I have written the below code for LCS. It works for many cases but
How do I pass arguments using ActionScript's event-listener? I have code, as given below,
I have this below code which will fetch loggedin UserID System.Security.Principal.WindowsPrincipal p = System.Threading.Thread.CurrentPrincipal
SEE BOTTOM OF THIS POST FOR UPDATE ON THIS PLEASE. I have the below
How to get the string length in bytes in nodejs? If I have a

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.