title: How to use NSRange or NSScanner in iOS
body: <p>I have a string like:</p>
  
  <p><code>1 this is my first text 2 his is my second 3 this is my third 4 this is my forth etc etc..</code> </p>
  
  <p>Each sentence is between the numeric <code>characters like 1 2 3 4 etc</code> </p>
  
  <p>When I tap the first sentence, it needs to dissect it and copy it in clipboard or something. How can we use he NSScanner or NSRange to calculate the string size or identify strings between the numeric characters.</p>
  
  <p>self.multiPageView.text =combined;  the combined contains the text like above ,,so when i tap the first sentence it need to select and show a UIAlertView which conforms the tapped sentence is first sentence,how to dectected a sentence between numeric characters by tap pin that sentence,like ibook. I am using core text to show these type of text.</p>