From: Lex Williams Date: 2008-08-21T19:50:59+09:00 Subject: Re: REGEXP HELP Newb Newb wrote: > I Need to Extract Img tag Using Regular Expressions From The Html Page > <\s*img [^\>]*src\s*=\s*(["\'])(.*?)\1 > Is This Code Would be ok > > Can Any One Say Me Some Other regexp For Img Tag Extracing? Instead of using a regular expression you could consider a html parser , and/or do a xpath search to retrieve images. Check hpricot . -- Posted via http://www.ruby-forum.com/.