title: Highlighted lower & upper case text using by NSMutableAttributedString
body: <p>I having text is "<strong>God</strong> is great, and the great <strong>god</strong> absolute!, <strong>GOD</strong> bless me." I have displayed this text in <code>tableviewcell</code> and I used <code>NSMutableAttributedString</code>.</p>
  
  <p>Example 
  1. GOD
  2. God
  3. god </p>
  
  <p>When I search text "god" it highlights text like "god" but I need highlight a text like GOD, God and god whatever it should be highlighted.</p>
  
  <p>code</p>
  
  <pre><code>NSString *initial = [NSString stringWithFormat:@"%@ %d - %d : %@",[appDelegate.arrChapterName objectAtIndex:nBookNo-1],[[arrVerses objectAtIndex:1] integerValue],[[arrVerses objectAtIndex:2] integerValue],[arrVerses objectAtIndex:3]];
  
          NSMutableAttributedString *mutableAttributedString = [[NSMutableAttributedString alloc] initWithString:initial];
          NSRegularExpression *regex = [NSRegularExpression regularExpressionWithPattern:[NSString stringWithFormat:@"(%@)",searchBar.text] options:kNilOptions error:nil];
  
          NSRange range = NSMakeRange(0,initial.length);
  
          [regex enumerateMatchesInString:initial options:kNilOptions range:range usingBlock:^(NSTextCheckingResult *result, NSMatchingFlags flags, BOOL *stop) {
  
              NSRange subStringRange = [result rangeAtIndex:1];
              [mutableAttributedString addAttribute:NSBackgroundColorAttributeName value:[UIColor lightGrayColor] range:subStringRange];
          }];
  
              cell.textLabel.attributedText = mutableAttributedString;
  </code></pre>