How to replace the whole unit?

Gentlemen, a question arose, are there programs that can replace the whole unit, for example, there is a div which contains several lines of code. The question is how the AutoCorrect to replace the whole unit in all existing files that have that div and when the number of rows remained. Tried using notepad, but it registers the script (which >2 lines) in one line of code, and you need to keep the original version, that is, if I have in a script a few lines, then he needs to register in a few lines, for example:
Line1
String2
...
Line 10

Not:
Line1 Line2 line3...строка10

Thanks in advance for the answer
June 10th 19 at 16:00
1 answer
June 10th 19 at 16:02
Solution
Why produce the same issues?
UPD
textreplacer
You it as a concern? Don't want to answer - don't answer that, why be rude - Cristin commented on June 10th 19 at 16:05
, textreplacer - Leda15 commented on June 10th 19 at 16:08
thank you very much for the help) definitely try - Cristin commented on June 10th 19 at 16:11
link I understand you do not want to give? I would you could still tell a lot of optimization - Leda15 commented on June 10th 19 at 16:14
I gladly give a link as soon as the website will launch, but for now wanted to know all the pitfalls with advertising, so you won't have unpleasant surprises - Cristin commented on June 10th 19 at 16:17
Forced to disappoint you. You will not be able to post ads without having a website. First you need to register and get the approval of Google to this site, and then it activates all your adsens account.
Of course, assuming this is your first website and experience adsens
P. S. you And I are well aware that this is an excuse and no one, no one, no link then don't give) - Leda15 commented on June 10th 19 at 16:20
of course I understand all this, just thought that if I create over 1000 static pages, then you can not in one fell swoop to put ads on all the pages - Cristin commented on June 10th 19 at 16:23
And how many pages now? - Leda15 commented on June 10th 19 at 16:26
around 100-150 - Cristin commented on June 10th 19 at 16:29
Sorry, you don't want to give the link. I would have suggested how to make it not static, without any knowledge of php, JavaScript, and database usage... maintenance would be many times more convenient and faster.
OK, your work in General. - Leda15 commented on June 10th 19 at 16:32
comrade , I want to give You the link, but objectively I can't, because at the present time the website is a set of folders with files I have not yet started. I can write to You after the launch?) - Cristin commented on June 10th 19 at 16:35
Of course, post it all:) - Leda15 commented on June 10th 19 at 16:38
Just can't understand why you now is... - Leda15 commented on June 10th 19 at 16:41

Find more questions by tags CSSHTML