I have a NSString that contains the html code of a webpage.
Now, how do i search on the whole string for all the words that start with ‘data-src=”http://’ and end with a ” ?
I’ll save them in an array.
My string is called urlPage
PS: i dont want the words to have the ‘data-src=”http://’ and ” . I just want the words between these 2
Here is some example code:
NSLog output:
match: ‘test1’
match: ‘test2’