Forgive possible elementary nature of this, but I want to search all text files within a folder for a fixed series of lines and then insert a set sequence of lines ahead of the found lines.
Note that the "searched for" lines will include blank lines.
e.g.
Mary had a
little
lamb
Then simply add a fixed set of lines before these
one two
three four
Mary had a
little
lamb
Thanks
Multi Line Search (then insert)
- DigitalVolcano
- Site Admin
- Posts: 1863
- Joined: Thu Jun 09, 2011 10:04 am
Re: Multi Line Search (then insert)
You can do multiple line search and replace using the edit button next to the Find/replace boxes. Clicking this will pop up a multi-line editor.
Note that the line endings in the editor will need to match that of your target file (you can change this in the options window)
Note that the line endings in the editor will need to match that of your target file (you can change this in the options window)