Insert a Line Feed between two characters

A place to try and solve your RegEx problems.
Post Reply
canajan
Posts: 1
Joined: Fri Jul 21, 2023 10:34 pm

Insert a Line Feed between two characters

Post by canajan »

I have many text files that contain the string "><". I would like to place a Line Feed between the ">" and the "<", ie start a new line with the "<" character

How do I do that?
User avatar
DigitalVolcano
Site Admin
Posts: 1731
Joined: Thu Jun 09, 2011 10:04 am

Re: Insert a Line Feed between two characters

Post by DigitalVolcano »

You can just use the multi -line editor for the replace (the little pen next to the replace box)

Eg

Find:

Code: Select all

><
Replace:

Code: Select all

>
<
You can change the editor line-end type in the Options window.
Post Reply