I get nicely:use strict; my $line = "this is a test=234567 line"; my ($value) = $line =~ /.*test=(\d+)/; print $value;
234567
In reply to Re: Problem with regex
by pelagic
in thread Problem with regex
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |