How to remove BBCode from a string in .Net

Posted by Tyler on Stack Overflow See other posts from Stack Overflow or by Tyler
Published on 2010-05-13T23:19:53Z Indexed on 2010/05/13 23:24 UTC
Read the original article Hit count: 289

Filed under:
|
|

I'm trying to remove all BBCode Tags from a string.

[url]www.google.com[/url]

becomes

www.google.com

I have a regex that works in php to find them all, just dont know how to remove them in .net

RegEx to Find BBCode

|[[\/\!]*?[^\[\]]*?]|si

© Stack Overflow or respective owner

Related posts about .NET

Related posts about bbcode