I have to parse string like this:
foo <img ... > <strong>foo</strong> bar
and i need to replace img tag with an empty string
foo <strong>foo</strong> bar
I've tried with
<img.*>
but the result is
foo bar
How can i do?
PS: the html string is malformed