How do I delete all blank line in asp.net project?

Asked by Last Modified  

3 Answers

Learn .Net

Follow 7
Answer

Please enter your answer

Angular Trainer

1. Press “ Ctrl+ Shift + H “. 2. Write regular expression For (vs2012) "^(?()\s)*\r?$\r?\n" or for vs 2010 (^$\n or ^&\n)in find what box. 3. Leave Replace with box as empty. 4. In find check Use Regular Expressions. Then Replace or Replace all as you want. These steps will remove all blank...
read more
1. Press “ Ctrl+ Shift + H “. 2. Write regular expression For (vs2012) "^(?([^\r\n])\s)*\r?$\r?\n" or for vs 2010 (^$\n or ^&\n)in find what box. 3. Leave Replace with box as empty. 4. In find check Use Regular Expressions. Then Replace or Replace all as you want. These steps will remove all blank spaces from current document or whole project as you choose Look in box. read less
Comments

Sr. Software Engineer (Also Part time trainer)

In Visual Studio please follow given step below 1. Click Ctrl+H (quick replace) 2. Tick "Use Regular Expressions" 3. In Find specify "^$\n" 4. In Replace box delete everything. 5. Click "Replace All" All Blank lines will be deleted. :) ^ Means Beginning of line $ Means End of line
Comments

Microsoft Azure and .Net Trainer with total 12 years of exp

You can use regular expressions to find blank lines and replace them with white spaces. Following steps are to find blank lines and replace: Open Visual Studio 1. Press “ Ctrl+ Shift + H “. 2. Write regular expression For (vs2012) "^(?()\s)*\r?$\r?\n" or for vs 2010 (^$\n or ^&\n)in find what box. 3....
read more
You can use regular expressions to find blank lines and replace them with white spaces. Following steps are to find blank lines and replace: Open Visual Studio 1. Press “ Ctrl+ Shift + H “. 2. Write regular expression For (vs2012) "^(?([^\r\n])\s)*\r?$\r?\n" or for vs 2010 (^$\n or ^&\n)in find what box. 3. Leave Replace with box as empty. 4. In find check Use Regular Expressions. Then Replace or Replace all as you want. read less
Comments

View 1 more Answers

Related Questions

What are delegates in ASP.NET
Delegates are type safe function pointers or callbacks. Delegate is a class that holds a reference to a method or function. Delegate class has a signature an it can only refer those methods whose signature...
Madhuri S.
what is .net?
We have seen BCNF and 3NF. It is always possible to obtain a 3NF design without sacrificing lossless-join or dependency-preservation. If we do not eliminate all transitive dependencies, we may need...
Kodeeswaran
What is the full form .net?
As Microsoft, . (dot) Means End of All the Technology and use Microsoft's .NET Technology. NET Means Network Enabled Technolgy
Mounika K
Hi, I want to do course and real time projects for MVC, WCF, WPF (Advanced .Net) and I can do weekend classes as I am working in IT company . Thanks & Regards, Shriram
Hi Shriram, Yes MVC and WCF can be taught together and this is very handy in current market. Regarding to wpf, this comes into different technology where the requirement is on Windows application. If...
Shriram

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

.NET With AngularJS Training Program Syllabus
What You will Learn in .NET with AngularJS Training Program? Introduction to .Net: Features of .Net, CTS, CLS, CLR and MSIL. C# & .Net Basics and Branching & Flow Control. OOPs Concepts,...

Service-Level Agreement (SLA) Definition
A service-level agreement (SLA) is a contract between a service provider and its internal or external customers that documents what services the provider will furnish. SLAs originated with network service...
M

Mohammad Shafi

0 0
0

Trends in .Net Platform
.NET Framework is a software framework developed by Microsoft. It includes a large class library named Framework Class Library (FCL) and provides language interoperability (each language can use code written...

Be FOCUS !!
We must be very focused about learning & Goals. While learning please check your progress and take feedback at various level. Try Again & Again & Again !!! Deepak Garg

CLR [ Common Language Runtime ] and it's properties
CLR is one of the components of the .NET framework which provides an environment to execute the .NET code or the managed code. , CLR helps in converting the MSIL/CIL code into native code and running...
R

Raga Deepthi G.

0 0
0

Recommended Articles

Applications engineering is a hot trend in the current IT market.  An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

Read full article >

Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...

Read full article >

Looking for .Net Training ?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you