From a variable containing tags layout as <img>
I want to replace all the image tags and content by the same tag concatenated with <br />
for example:
<img src="mon image" style="width:80px; float: right;">
replaced by
<img src="mon image" style="width:80px; float: right;"> <br />
I succed to replace the img tag with a character but not like I want
Try with this regular expression:
Also @LawrenceCherone has right your
IMGshould be like this:But the regular expression also works with that tag declaration.