1)the regex you gave me did not hide the Header Fields.

2)"Now, what you've posted in the original post is partial, not a complete code. I was basically asking you to show people what you have gotten so far, so it's easier to see is all."

I still do not understand how do you assume that it is partial!
it is complete and I have no further code in addition to that.
it is so simple , there are no secrets to hide!
that was and is my complete script.
I mean at first my goal was only to show the source-code of a given website. then it became to show only Webpage's content without any additions either HTML's tags or Header Fields. and I do repeat that Regex did not help me out! still shows Header fields.