Find and replace with a newline in Visual Studio Code

Today I learned How to find and replace with a newline in Visual Studio Code.

In the local searchbox (Ctrl + F) you can insert newlines by pressing Ctrl + Enter.

/find-and-replace-with-a-newline-in-visual-studio-code/multiple-line-support.gif
(Local searchbox)

If you use the global search (Ctrl + Shift + F) you can insert newlines by pressing Shift + Enter.

/find-and-replace-with-a-newline-in-visual-studio-code/2021-08-06_15-23-51.png
(Global search)

If you want to search for multilines by the character literal, remember to check the rightmost regex icon.

/find-and-replace-with-a-newline-in-visual-studio-code/regex.png
(Regex)