Stripping certain characters using Hpricot


I have been using Hpricot for a while now and its great.
I wanted to know can Hpricot help me in stripping certain characters
like ‘//’ because I need to strip them in order
to get the exact differences by htmldiff.
I just want to get rid of the // and not the data
between them