>Given this in $_ ><p>Most popular title searches:</p><ol><li><aHREF="/title/tt0244365/">"Enterprise" >(2001)</a></li>" > >why would this regex not put digits in $1 ? > >$data2 =~ /popular title searches:<\/p><ol><li><aHREF=\"\/title\/tt(\d*)\/\">/ Then "$datas =~ "should be removed and just use
/popular title searches:<\/p><ol><li><aHREF=\"\/title\/tt(\d*)\/\">/ You are going vs $data2 when you state the value is in $_. Are you running with warnings on? If not, should be. Also use strict. Wags ;) ********************************************************** This message contains information that is confidential and proprietary to FedEx Freight or its affiliates. It is intended only for the recipient named and for the express purpose(s) described therein. Any other use is prohibited. **************************************************************** -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>