What regex should I use to remove links from HTML code in C#?

Posted by sashaeve on Stack Overflow See other posts from Stack Overflow or by sashaeve
Published on 2010-03-13T12:13:52Z Indexed on 2010/03/13 12:35 UTC
Read the original article Hit count: 206

Filed under:
|

I have a HTML string and want to replace all links to just a text.

E.g. having

Some text <a href="http://google.com/">Google</a>.

need to get

Some text Google.

What regex should I use?

© Stack Overflow or respective owner

Related posts about c#

Related posts about regex