# Stripping certain characters using Hpricot

**URL:** <https://www.ruby-forum.com/t/stripping-certain-characters-using-hpricot/168802>\
**Category:** Ruby\
**Created:** [May 26, 2009, 9:01am UTC](https://www.ruby-forum.com/t/stripping-certain-characters-using-hpricot/168802 "2009-05-26T09:01:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![virendra](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/e68b1a/32.png) [@virendra](https://www.ruby-forum.com/u/virendra)\
**Post date:** [May 26, 2009, 9:01am UTC](https://www.ruby-forum.com/t/stripping-certain-characters-using-hpricot/168802/1 "2009-05-26T09:01:55Z")

</div>

Hi,  
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
