From a given string, I want to extract the span tag completely and remove the rest
string x = "............................<p>She has <span style="color:blue">blue</span> eyes.</p>.................................."
required output
string y = "<span style="color:blue">blue Go to the complete details ...