Forum: Ruby Stripping certain characters using Hpricot

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Virendra N. (Guest)
on 2009-05-26 11:01
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  '//<![CDATA[ ' and '//]]>'  because I need to strip them in order
to get the exact differences by htmldiff.
I just want to get rid of the   //<![CDATA[ and //]]> and not the data
between them
This topic is locked and can not be replied to.