Will there be something simple, how does it work for you?
(defn extract-url [s] (subs s (inc (.indexOf s "'")) (.lastIndexOf s "'")))
This function will return a string containing all characters between the first and last single quotes.
Assuming your string sequence is called ss
, then:
(map extract-url ss) ;=> ("http://s3.mangareader.net/cover/gantz/gantz-r0.jpg" ; "http://s3.mangareader.net/cover/deadman-wonderland/deadman-wonderland-r0.jpg" ; "http://s3.mangareader.net/cover/12-prince/12-prince-r1.jpg")
This is definitely not a general solution, but it is suitable for the input you provided.
source share