Replacing multiple lines text From a string, As throwing error at a particular line while Deserializing XML

i have a HTML code as string, let us say the string variable is: WebString
When i am trying to Deserialize this whole code(WebString) By Using : Deserialize XML ,
It is throwing an error :-1:image
And the 44th line code is:
so, i just want to remove line 44 to 46 from my string(WebString) and give a try to Deserialize again.

this cannot be used as xml…