I have html strings like these:
<img src="mysrc" width="128" height="92" border="0" alt="alt" /><p><strong>...
I’d like to extract mysrc. I don’t want to use an html parser as I’ll just have to deal with simple html strings…is there an efficient way to extract source field just with string/regular expressions? Or maybe with android default xml parser?
regex you could try :
"(?<=<img src=\")[^\"]*"example:
will give you