> Hi Everyone, > > What is good way to pull the href from a link in html? If I have links like: > > meow woof moo bark bahh <a href="here_kitty" class="domestic">meow</a> > bahh moo bark > > How do I pull just the 'here_kitty' part?
Use an HTML parsing module. HTML::TokeParser::Simple has proven effective for me. There are regex possibilities, but mostly they create more headaches than they solve. http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>