On Mon, Apr 20, 2009 at 9:15 AM, John Smith <rails-mailing-l...@andreas-s.net> wrote: > > Thanks. When I use <>. what I need is to obtain <p>bike</p> and <a > href='#'>car</a>. >
I'm starting to think that regular expressions are not the best way to solve this. You should probably use an HTML parser and then do regular expression substitutions based on where in the DOM you are Andrew Timberlake http://ramblingsonrails.com http://www.linkedin.com/in/andrewtimberlake "I have never let my schooling interfere with my education" - Mark Twain --~--~---------~--~----~------------~-------~--~----~ 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-talk@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 -~----------~----~----~----~------~----~------~--~---