F
F
fatalmoon2020-12-30 22:34:14
Text Processing Automation
fatalmoon, 2020-12-30 22:34:14

How to replace HTML code in many files?

I have 2000 html files where there is a div that needs to be replaced with another, along with its content, but the content of each file is different.
Is there any program that replaces by tags, works like an adblock filter?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Vladimir Kuts, 2020-12-30
@fox_12

Try to use find + sed combination if on Linux

V
VegasChickiChicki, 2020-12-30
@VegasChickiChicki

In WebStorm cntrl + shift + R - search through all files, you can also specify what to replace
5e0a5fa2da4c2810961972.png

K
Karpion, 2020-12-31
@Karpion

Notepad++ can open many files and replace all of them. You can use regex for this.

A
Artem Ivanov, 2020-12-31
@ns174ru

freesoft.ru/windows/text_replacer
you won't find a better program for this task

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question