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

How is .Net core 1.1 different from .Net core 1.0?
Its show up gradation of .net Version with some more components.
Prabhu
0 0
5
Is developing a website in .net easy or in php?
In php developing an app is easy.
Nithish REDDY
Hi Friends !!! I want to learn .Net developing for placement In best company . Do you suggest any training institute or class in Ahmadabad.
To be very frank, don't inquire about the training institute... anywhere look for the trainer having good real time technical knowledge.. bookish knowledge will not help to get a job, if you get it by any means its difficult to survive...
Vijay

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

Ask a Question

Related Lessons

advantages of stored procedure in ado.net
The benefits of using stored procedures in SQL Server rather than application code stored locally on client computers include. 1. They allow faster execution: overall request-response...

A very brief introduction to .NET framework
.NET development has started in the year 2000 , a product of Microsoft. From the begining of .NET development till now, it has got many RAD facilities. Why .NET? developed for distributed computing...
R

Raga Deepthi G.

2 0
0

What Is An Array? Explain Its Type.
Array: Array is a collection of similar type of data in an array varaiable. Array start with Zero Index and maximum length of array is total element - 1. i.e., Suppose n is the length of array, total element...

Stored procedures advantages
1. Server side secure code 2. Network overhead traffic between server and client through hhtp request and responses minimised. Stored procedures used in ado.net for two main benefits: 1. Network overhead...

Contents Of ASP.NET
Getting Started with ASP.NET This module explains how to build and configure a simple ASP.NET application. Lessons: Introduction to ASP.NET Web Applications Features of ASP.NET Configuring ASP.NET...

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