I have to run a command in unix. And I have to match this expression from whatever output I get. I tried doing the following:
my $var = 'command'; my ($exp) = $var =~ m/(v\d{2}\.\d{2})-([a-z]\d{3})/;
The same is followed by a html script in which the value of $exp must appear. But I am unable to do so...
Can u pls help!
Thanks
BG
In reply to Re^4: regex trouble
by blackgoat
in thread regex trouble
by blackgoat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |