Question

is there any way how to replace block of text (multi-line) in VS2008(VS2005)? So far I know VS2008 supports only single line replacing.

Any tips welcome, cheers X.

EDIT: thanks for tips guys. I was rather looking for some simplier option: like select multiline text, click Ctrl+H, Ctrl+V (copy text from memory) and hit Replace All.

Was it helpful?

Solution

CTRL+H -> Find Options -> Use Regular Expressions | WildCards. Then you can push on the right arrow next to the "Find What" and "Replace With" textboxes and see what you can use. Descriptions here.

OTHER TIPS

Visual Studio 2005 (and maybe before) supports regular expressions, permitting the selection and replacement of multi-line text.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top