"Arne Vajhøj" <arne@vajhoej.d kwrote in message
news:48475205$0 $90273$14726298 @news.sunsite.d k...
Tem wrote:
>im looking for a regex that removes html special characters
>such at
>>
>& followed by a word then ;
>
Remove is easy.
>
s = Regex.Replace(s , "&[^;]+;", "");
>
should do that.
>
You can get the meaning of the entity inserted with:
>
s = HttpUtility.Htm lDecode(s);
>
Arne
>
Or you could put this in your page directive… validaterequest ="trueâ€
"Arne Vajhøj" wrote:
Tem wrote:
im looking for a regex that removes html special characters
such at
& followed by a word then ;
>
Remove is easy.
>
s = Regex.Replace(s , "&[^;]+;", "");
>
should do that.
>
You can get the meaning of the entity inserted with:
>
s = HttpUtility.Htm lDecode(s);
>
Arne
>
>
Comment