” (2.1\x26#160;mi / 7 mins)”
I have the above string and I need to get to the distance and time only. How would I go about doing this using the RegexKitLite script? Ideally, the below is what I’m looking for:
time = 7 mins
distance = 2.1 miles
Thanks
Not with RegexKitLite script but I’ve done it this way:
NSString* tooltipHtml = [apiResponse stringByMatching:@”tooltipHtml:\\”([^\\”]*)\\”” capture:1L];