should be sufficient.my $string ="sbc/dasds/sdf/dsd/modemL" ; if ($string=~/sbc\/dasds\/sdf\/dsd\/modem.*/) { print "Matching" ; }
In reply to Re^2: Regular expression
by Mandrake
in thread Regular expression
by lax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |