From: "J. mp" Date: 2007-03-07T22:59:46+09:00 Subject: Re: Regular expressions - Again > You generaly want to use a HTML parser ... provided that Wuby has one. > > You may be lucky with since it's likely to not include any > attributes, but still there might be some whitespace INSIDE the tags, > there may be a comment inside the <title>... that you may or may > not want, there may be a or inside a comment etc. etc. > etc. > > In (censored) I'd use HTML::Parser from CPAN, but shhhh ... this is a > Wuby site, we don't speak of such things here. > > Jenda I ended with Hpricot, it's working fine with a few tests I made till now. -- Posted via http://www.ruby-forum.com/.