> $_ = "Die,Row 0, Column 12" do you trying to get this ?
my ($row, $col) = ($1, $2) =~ m/^.+(\d+).+(\d+)$/; # $row = 0; # $col = 12; /^ means beginning of line ..+ means anything \d+ means 1 more more digit numbers (xxx) capture matched values within blankets in order to $1, $2...$x. $/ means the end of the line. > > What I want is the 0 and 12. What about the text? > So what do you want to deal with the text ? Rgds, Connie -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]