C
C
cataclysm882021-05-14 09:41:56
Notepad++
cataclysm88, 2021-05-14 09:41:56

How to replace blank lines with a word in Notepad++?

Let's imagine that I have lines:
A

B

C

D

I need to replace the empty lines between them with the same words, so that it turns out like this:
A
X
B
X
C
X
D

In Notepad ++ or in any other text editor. How to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SagePtr, 2021-05-14
@cataclysm88

Regular ^$

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question