Quantcast
Channel: Getting img url from RSS feed swift - Stack Overflow
Browsing latest articles
Browse All 2 View Live

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 Article


Getting 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
Browsing latest articles
Browse All 2 View Live




<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>