D
D
DDBD2019-05-01 21:15:18
Notepad++
DDBD, 2019-05-01 21:15:18

How to add text after the first line in notepad++ in all open documents?

You need to add text right after the first line. There are a lot of files, I tried this: Replace: ($) With: text / 1 It worked but at the end of the line and when trying to replace in all documents, the text was inserted at the end of each line. Help whoever can))
Example:
1.TextTextTextTextTextTextText
2.TextTextTextTextTextText<--------Here you need a different text with a line shift down in all open documents 3.TextTextTextTextTextTextText

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dodo512, 2019-05-01
@dodo512

(?s-m)^(.+?\n)(.+)
$1другой текст\n$2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question