Hello! Need advice on how best to implement a solution to this problem:

There is an html file, with a large number of tables, links, pictures, etc. etc.

Suppose I want to replace all links from this file of this type (only the bold part):

 href = " http://example.com/?of=disp-hv4b4-08&auto-token= [% anketa.a907.q907%] # / document / 184 /">

on this:

 href = " http://example.com/?of=disp-hv4b4-08&auto-token= [[= = Contact.f_xssguid;]] # / document / 184 /">

How is this easiest to achieve? Use regular expressions or in any other way? I understand that this can be done through ctrl + h, but the fact is that you need to change not only the links but also the addresses to the pictures and much more, which takes a lot of time, but you just want to press the button and make all the changes were immediately made.

  • one
    Through regular expression and replace function - Yuri
  • And if you have attributes in elements, then it’s better not to take the whole document, but separately the attributes of the necessary elements - Yuri

0