Dear all,

i have a html file in my local path.

In that html file i have below tag.

<img src="/2010-01-12/Capture/1210420100112145725141.jpg" />

Now what i need is i want to modify the above tag into

<img src="/Capture/1210420100112145725141.jpg" />

i want to replace all the image path like above path.

Is it possible to do? i have a idea in hpricot parser.

Is it worth to try with hpricot..

if so,kindly provide any sample code or links

Thank you for your time
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to