![](https://www.aggia.co.uk/wp-content/uploads/featured/ft_notepad-730x382.png)
Notepad++ is my favourite text editor. It’s incomparably more powerful in feature-rich than Windows Notepad, however, even Notepad++ can’t do proper multi-line search and replace out of the box.
![Notepad++ Find and Replace](https://www.oxfordit.co.uk/wp-content/uploads/posts/1679_1.png)
Sure, you can enable the Extended search mode and mark each new line with \n, but this is clunky and only practical if you have only a few lines of text to replace.
For anything bigger, I’d suggest installing the ToolBucket plugin (Plugins > Plugins Admin). After it’s installed, click on Plugins > ToolBucket > Multiline find and replace.
![](https://www.oxfordit.co.uk/wp-content/uploads/posts/1679_2.png)
Couldn’t be any simpler…
November 2023
Windows 10 Pro (22H2)
Notepadd++ v8.4.6
Previous Post