I use regular expressions to find and replace text in some documents.
Im trying to find an Expression like
which finds a string for example like
IMG alt="" src="picture.jpg" width=461 align=baseline height=72>
Now I want to use that found string and save it in the replacement text in a comment like:
img.src.?newpicture.jpg".*?> COMMENT: OLDSTRING
How can I do this?