Hi all! I hope somebody can help me out 🙂 ... I need to replace the following string repeated n-times in an htm webpage:
<a href="javascript😛opupPic('__')" class="elements">Abc</a>
where ___ is always the same for all the recurrances while Abc changes (it's the name of the product)
and I have to change them in something like this:
<a href="javascript😛opupPic('Defbig.jpg')" class="elements">Def</a>
where Defbig.jpg gets the firstpart "Def" from the product name Def
obviously the product name (in this example Def) changes approx. 200 times..
I came out with something like this for finding the strings
<a href\=\"javascript:PopupPic(\'__\')\" class\=\"elements\">.*</a>
which seems to work but now I don't know what regular expression use for replacing dynamically the __ with the stuff contained in .*
I'm not sure if I've been clear but it's kinda twisted to explain :queasy: I really hope someone can help me maybe telling me if there's a software or something that can be usefull. (at the moment I'm using Dreamweaver with the find/replace)
Thank you!!!