I have HTML
with a lot of strings in this format :
<li><a href="#track_info_page?artist=text&title=text">
And I want to get an array
of this string with this Regex
:
NSString *regex = [NSString stringWithFormat:@"<li><a href=\"#track_info_page?(.*?)\">"];
NSArray * arr = [html componentsMatchedByRegex:regex capture:1L];
But the NSArray
is always empty.
Any idea what can be the problem ?