Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to replace   to space?

Tags:

c#

regex

Content is

    Hello World.

<a&nbsp;href="#"&nbsp;target=_blank>hello&nbsp;World</a>

How to replace the &nbsp; in html code and keep the other &nbsp; in the text.

like image 679
AlphaWu Avatar asked Sep 14 '10 12:09

AlphaWu


People also ask

Can I replace a window myself?

If you're naturally handy and have experience in similar home improvement projects or know how to install a replacement window, plus the time to do the job right, it's entirely possible to install your own windows. The downside is it takes time, especially if you are installing multiple windows.

What is an insert window?

Insert windows are installed directly into the existing frame of the window being replaced, allowing you to get the latest window performance features while minimizing disruption to your home. Insert windows preserve the original frame, exterior trim, exterior siding and interior casing.


1 Answers

For me the best is :

Imports System.Web
HttpUtility.HtmlDecode(codeHtml)
like image 105
jakdaniel Avatar answered Sep 23 '22 18:09

jakdaniel