# . (dot) symbol means any character # take 3rd, 4th and 5th chars $inq =~ m|..(...)|; print $1;
In reply to Re: Match and extract three characters from the middle of a string
by sh1tn
in thread Match and extract three characters from the middle of a string
by svnipp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |