Replace block of text in vs2008

Is there a way to replace a block of text (multi-line) in VS2008 (VS2005)? So far, I know VS2008 only supports one-line substitution.

Any hints are appreciated, greetings H.

EDIT: thanks for the advice guys. I was rather looking for a simpler option: for example, select multi-line text, press Ctrl + H, Ctrl + V (copy text from memory) and click "Replace All".

+1


a source to share


2 answers


CTRL + H → Find Parameters → Use Regular Expressions | Wildcards. Then you can click the right arrow next to the Find What and Replace With text boxes and see what you can use. Descriptions here .



+1


a source


Visual Studio 2005 (and maybe earlier) supports regular expressions that let you select and replace multi-line text.



+2


a source







All Articles