This article is a mirror article of machine translation, please click here to jump to the original article.

View: 26613|Reply: 1

[New Issue] How does Visual Studio 2013 find content that replaces multiple lines?

[Copy link]
Posted on 4/17/2020 12:35:37 PM | | |
For example, there are two files: file1 and file2.

There are a few lines in file1 that look like this:
abcd
xxxx
xyz


There are a few lines in file2 that look like this:
abggggg
qqqq
xyz

I want to use regular expressions to find the contents of these two parts, but I can't do it. The results of [Find in File] are all line by line, without cross-line.
May I ask everyone, what should I do?




Previous:Detailed explanation of Object Pool in .NET Core
Next:CodeDomProvider engine for C# advanced applications
Posted on 4/19/2020 4:22:28 PM |
Added multi-line search and multi-line replacement functions for Visual Studio 2010 (VS cross-line search replacement)

https://www.jb51.net/softjc/226469.html
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com