By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,062 Members | 1,358 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,062 IT Pros & Developers. It's quick & easy.

removing replacing blank lines in ASP.NET (VB)

P: n/a
Hello.

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:

0D0A2020202020202020D0A

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

dim orx as regex
orx = new regex("$\s*$")
contents=(orx.replace(contents,"$"))

Any help or information is greatly appreciciated.

Thanks!
Nov 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.