I have a web page source code that I want to use in my project. I want to use an image link in this code. So, I want to reach this link using regex in PHP.
That's it:
img src="http://imagelinkhere.com" class="image"
There is only one line like this. My logic is to get the string between
="
and
" class="image"
characters.
How can I do that with REGEX? Thank you very much.