Re: Regexp question

2001-06-25 Thread Tim Wood
Drats - just when I got the regexp worked out too... $_=~ m/()/ > > [matching web page links] > > [using regexes] > > Don't use regexes. They aren't the right tools for the task. > > Use one of the cpan modules for parsing web pages. > Some are written specifically for pulling out links. > > htt

Regexp question

2001-06-25 Thread Tim Wood
Hi I'm new to perl and have a question about regexps that hopefully one of you can help with. I'm trying to parse out links from web pages, so essentially I have a string of the form: So what I want to do is find an expression to match against that. Secondly, if there is an easy way to put