D
D
Dmitry2017-04-01 19:43:44
Notepad++
Dmitry, 2017-04-01 19:43:44

Is it possible to replace huge sections of code?

Hello, I've run into this problem.
I copied the site, html pages, there are about 200 of them. If, for example, I want to change the header or footer, I need to change each of these 200 files, I thought to connect the header and footer via php include for example. But now the most important question is how to remove the header and the footer on all these pages, if you change line by line through the notepad - it will take a long time. Is it possible to somehow replace many lines at once and through which editors?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mamonic, 2017-04-22
@mamonic

There is a special plugin for Notepad++ called "ToolBucket". There you can do the replacement of entire paragraphs (there is a window for inserting code, and not a line, as per the standard).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question