ish
ish

Reputation: 1

Find the date and insert a new line under it without changing the value of the date in Notepad++

I have one column with data repeated in the following format

name
id
birthdate
..
.
.

and so on. I want Νotepad++ to find the date by using ([0-9]+)-+([0-9]+)-+([0-9]+) then insert a line after it without changing the actual date. But when I enter ([0-9]+)-+([0-9]+)-+([0-9]+)\n in replace window it replaces the actual date with ([0-9]+)-+([0-9]+)-+([0-9]+). Any help appreciated.

Upvotes: 0

Views: 57

Answers (1)

Toto
Toto

Reputation: 91508

Use this:

Find what: (\d+-\d+-\d+)
Replace with: $1\n

Upvotes: 1

Related Questions