RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Remove Blank lines (Single or Multiple)
Expression
(\n\r) replacement string---->\n
Description
(\n\r) removes single or multiple blank\empty lines. The replacement string will be \n Simple but powerful and really useful
Matches
blank\empty lines
Non-Matches
non-blank\non-empty lines
Author Rating: Not yet rated. Mukundh
Source own
Your Rating
Bad Good

Enter New Comment

Title

Name

Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Title: Ok for a specific type of line ending
Name: JKlann
Date: 7/21/2015 5:49:38 PM
Comment:
May want to consider your line ending or mention the case when you would find this line ending and is nodes not seem to be frequently found...


Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials