Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Stripping certain characters using Hpricot

Reply
Thread Tools

Stripping certain characters using Hpricot

 
 
Virendra Negi
Guest
Posts: n/a
 
      05-26-2009
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
--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Regular expression for stripping tab and new line characters in Render paul.hester@gmail.com ASP .Net 1 06-01-2006 09:09 AM
Stripping out unwanted characters et ASP .Net 3 02-22-2006 03:52 PM
Stripping characters... VJ ASP .Net 1 01-17-2006 10:20 PM
Request.QueryString() is stripping out French characters =?Utf-8?B?THU=?= ASP .Net 4 09-02-2005 09:02 AM
Stripping whitespace around certain elements Andy Jefferies XML 1 06-26-2003 11:29 AM



Advertisments