Multiline find replace VS Code’s find/replace widget supports searching for multiline text. Use ctrlreturn to insert a newline while typing or just paste in some multiline text