As the title says, in .NET, whats my best bet for stripping all HTML markup bar a chosen few tags?
I'm currently using regex "<[^>]*>" to strip the lot but now wish to retain the <p> and <br /> markup, nothing else. Whats the speediest, most efficient way of doing that?
Ta.
I'm currently using regex "<[^>]*>" to strip the lot but now wish to retain the <p> and <br /> markup, nothing else. Whats the speediest, most efficient way of doing that?
Ta.
Comment