I found a good way to use multi-line find or replace. I simply copied this paragraph into the Ctrl+H "find" field, then added another paragraph and pasted it into the "replace" field. Notepad ++ will show a tabbed space that means line break. And voila, you can "Replace in all open documents" with just one click.
NB: the operation "copy" must be in Notepad ++, otherwise it inserts only the first row in both fields.
Update: To clarify my answer, I found out that Notepad ++ will only allow me to Paste once. This means that if I copy the paragraph, I can paste it with its line break in the "find" field, but if I paste it again in the replace field, it will only insert the first line. Therefore, in the Cntrl + H field, no more than 1 โinsertโ operation is allowed if I want to โinsertโ a line break.
So for this to be done, first select any text that I want and CNTR+C on it, then to find the paragraph, I just โSelect itโ and press Cntrl + H : Notepad ++ automatically displays the already selected text in Find field. Secondly, we "paste" the text, which is already in our clipboard, into the "Replace" field. And line breaks are here!
In short: select text โ Cntrl+C โ Select text โ Cntrl+H โ Cntrl+V in the โreplaceโ field
source share