Find text and add text in new line
-
How to find a text and add text in new line?
original
abc def abc ghi abc
to be updated (find abc add xyz in new line)
abc xyz def abc xyz ghi abc xyz
-
@GG ,
- FIND =
abc(\R|\z)
(find abc followed by either a newline or the end of the file) - REPLACE =
abc\r\nxyz\r\n
(the\r\n
is a newline sequence in windows EOL mode) - Search Mode = regular expression
- FIND =