Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > removing replacing blank lines in ASP.NET (VB)

Thread Tools

removing replacing blank lines in ASP.NET (VB)
Posts: n/a

I'm sure this is a common problem.

I have output I'm displaying on an html form that has blank lines I'd
like to remove. When I clip and paste the output onto an editor with
hex display I see CR/LF codes with blank entries in between as such:


I'm trying this regex code, but it does not seem to be working:

dim orx as regex
orx = new regex("$\s*$")

Any help or information is greatly appreciciated.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
blank CD-R and blank DVD-R not recognized by Vista 64 Ultimate =?Utf-8?B?R3JlZyBLaXJrcGF0cmljaw==?= Windows 64bit 13 11-07-2007 12:23 PM
Preserve blank lines when add multiple lines of text to a cell Cah Sableng Javascript 0 04-23-2007 04:46 AM
replacing blank lines in my .txt data file C++ 2 08-22-2006 09:03 PM
Removing blank lines basi Ruby 24 10-17-2005 12:43 PM
Replacing - and not Replacing... Rob Meade ASP General 5 04-11-2005 06:49 PM