in reply to Newbie Perl RegEx Question/Problem

Take out the escape char on the ( before the last small d.\ Like this:
$foo = "What is 1234345345 x 234234234234? "; ($num1, $num2) = ($foo =~ /\D+(\d+)\D+(\d+)/ );

Replies are listed 'Best First'.
Re^2: Newbie Perl RegEx Question/Problem
by bcromwell (Initiate) on Apr 08, 2005 at 19:32 UTC
    Oh!! Thank You so very much!!