title: stringByReplacingOccurrencesOfString function
body: <p>I am new to ios development.</p>
  
  <pre><code>NSString *newString2 = [aString stringByReplacingOccurrencesOfString:@"1," withString:@""];
  </code></pre>
  
  <p>My problem is i do not know how to check for any number i.e. <code>stringByReplacingOccurrencesOfString:@"anyInt,</code>" where any Int is any <code>integer</code> number from 1 to N.</p>
  
  <p>Thanks in advance!</p>