-3

I need to remove the "<www.google.com/>" part from "www.google.com<www.google.com/>" some regex experts here?

BR

solution from someone

Hossein Sabziani
  • 1
  • 2
  • 15
  • 20

1 Answers1

1
string s = "www.google.com<www.google.com/>";
var result = Regex.Replace(s, "<.*?>", String.Empty);
Hossein Sabziani
  • 1
  • 2
  • 15
  • 20