24

I've become rather fond of the "Find-And-Replace" function in Visual Studio. The function lets me replace phrases, words, symbols, or whatever you can type into the textbox on the screen.

How can I make it replace a character with a newline?

Dennis Williamson
  • 106,229
  • 19
  • 167
  • 187
Vivian River
  • 495
  • 1
  • 6
  • 18

1 Answers1

18

According to Helixoft: Multiline Search and Replace in Visual Studio
you can enable Regular Expressions and then use \n to indicate a new line.

Tamara Wijsman
  • 57,083
  • 27
  • 185
  • 256