Forum: Ruby Stripping certain characters using Hpricot

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Virendra N. (Guest)
on 2009-05-26 11:01
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  '//<![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.