Marnen Laibow-Koser wrote:
> 
> Your regex book will be the best help, but here's a clue: I think you're 
> going about it inside-out.  It would probably easiest to extract the 
> entire <body> element.  It's relatively simple to write a regex that 
> will cover most cases, but if you have to cover absolutely every valid 
> case, you may want to use Nokogiri, Hpricot, or JavaScript DOM 
> manipulation instead.
> 
>> 
>> thanks in advanced.
> 
> Best,
> --
> Marnen Laibow-Koser
> http://www.marnen.org
> [email protected]

hrmm. i was using gsub to blank all the stuff i didn't want.. maybe i'll
just pull the stuff that i do.   the marvels of reversing your logic.
thanks.
-- 
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to