in reply to Match and extract three characters from the middle of a string
# . (dot) symbol means any character # take 3rd, 4th and 5th chars $inq =~ m|..(...)|; print $1; [download]