in reply to Match and extract three characters from the middle of a string

Assuming you always have 8 characters then
m/\w{2}(\w{3})\w{3}/ $emc_device = $1

Neil Watson
watson-wilson.ca

  • Comment on Re: Match and extract three characters from the middle of a string
  • Download Code