What I am trying to achieve here is to fetch the HTML within a rich text editor and I need to uncomment all the img tags which are commented within that HTML. I don't want any other HTML code to get uncomment. For example
Input - HTML of rich text having commented tags
Output - Only img tag should get uncomment
I am having the regex for two conditions :-
1.) To uncomment all the HTML
2.) To get IMG tag alone from the HTML -
Its not working when I am combining both the REGEX to get my required result. Please suggest.