From: Ari Brown Date: 2007-09-26T09:32:48+09:00 Subject: Re: ruby regex on html file I have no shame.... For something as large and (maybe) complex as this, you might want to try generating your regexp through TextualRegexp. gem install TextualRegexp Good luck ari On Sep 25, 2007, at 7:40 PM, eggie5 wrote: > I'm trying to write a rake task to extract all the script tags out of > my html file and save them to an array. How can I do this? > > Below is a snippet form my file management.rhtml, I would like to get > paths to the script files from all the script tags inside the HTML comment tags. ---------------------------------------------------------------| ~Ari "I don't suffer from insanity. I enjoy every minute of it" --1337est man alive