you have said lv... and told that you don't want to match lvabc, then try the above, but i think it will match anything other than a b and c at the appropriate positions, give more clarity on your possible kinds of inputs and expected match.if($line =~ m#/volumes/VGNEW1/lv[^a][^b][^c]#) {
In reply to Re: Matching exact string
by targetsmart
in thread Matching exact string
by himanshu.padmanabhi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |