↧
Answer by Wiktor Stribiżew for Getting img url from RSS feed swift
You should consume as many characters up to the src attribute as possible. You can do it with .*?:var regex: NSRegularExpression = NSRegularExpression(pattern: "<img.*?src=\"([^\"]*)\"", options:...
View ArticleGetting img url from RSS feed swift
I want to be able to retrieve the img url from a piece of string. Here's a sample of the img URL that I'm trying to retrieve:<p><img width="357" height="500"...
View Article
More Pages to Explore .....