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 is asp .net in future
No future in asp.net, only Future in MVC.Net. Thanks
Ajaz

Hi,

I have asp.net project with sql connection.I want connect database with asp.net and run the project and web config file there

In web.config: <connectionStrings> <add name="ConnectionString" connectionString="Data Source=192.168.1.25;Initial Catalog=Login;Persist Security Info=True;User ID=sa;Password=example.com" providerName="System.Data.SqlClient"...
Fathima
How to choose a best Institute for. Net
no such institutes offers best guidance for dotnet unless you come across a privte tutor or corp[orate trainer who can deal with you in detail having past industrial experience
Vinod
whats the fees of mvc class?
Its 4500 for MVC Training. Classes will be held at my location .If interested can contact me
Jayashri

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

Ask a Question

Related Lessons

ASP.NET - Introduction
ASP.NET is a web development platform, which provides a programming model, a comprehensive software infrastructure and various services required to build up robust web applications for PC, as well as mobile...

Multi-core CPU utilization using Task Parallel Library in c#
Nowadays, we are using multiple core systems. We must write our .NET applications in such a way that we must utilise the complete computing power of the machine. The parallel task library(TPL) allows...

Pro Developer Program Syllabus
What you will learn in Pro-Developer Program: i. Introduction to Web Technologies. ii. Introduction to .Net - Features of .Net, CTS, CLS, CLR and MSIL. iii. C# & .Net Basics - Data Types,...

Extension method In C#
Introduction. Hello Guys, In this article, I will explain what is extension method and why and where we should use this. Let’s understand the term extension means we are going to create something...

Compare ASP.NET WEB API and WCF.
What to choose between WCF or WEB API..? Choose WCF when you want to create a service that should support special scenarios such as one way messaging, message queues, duplex communication etc. while...

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