Click here to Skip to main content
15,891,767 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello Code Project,

currecntly I am trying to strip some html tag using
this regex: <[^>]*(>|$)|&nbsp;|&zwnj;|&raquo;|&laquo;

However I still end up with signs as { font-size:9pt; font-family: arial; }

How can I strip { } aswell?

best regards
Posted
Comments
Maciej Los 23-Oct-14 4:28am    
What? Please, be more specific and provide more details...
Wombaticus 23-Oct-14 6:38am    
Try looking at HTML Agility Pack http://htmlagilitypack.codeplex.com/

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900