title: stringByReplacingMatchesInString: returns (null)
body: <p>Here is my code:</p>
  
  <pre><code>NSRegularExpression * regex;
  
  - (void)viewDidLoad {
      NSError *error = NULL;
      regex = [NSRegularExpression regularExpressionWithPattern:@"&lt;*&gt;" options:NSRegularExpressionCaseInsensitive error:&amp;error];
  }
  
  - (IBAction)findWord {  
      NSString * fileContents=[NSString stringWithContentsOfFile:[NSString stringWithFormat:@"%@/report1_index1_page1.html", [[NSBundle mainBundle] resourcePath]]];
      NSLog(@"%@",fileContents);
  
      NSString * modifiedString = [regex stringByReplacingMatchesInString:fileContents
                                                                  options:0
                                                                    range:NSMakeRange(0, [fileContents length])
                                                             withTemplate:@"$1"];
  
      NSLog(@"%@",modifiedString);
  }
  </code></pre>
  
  <p>My 'modifiedString' is returning (null).Why?I want to replace any characters between '&lt;' and '>' including '&lt;' and '>' simply by a space.</p>