in reply to Looking for exact match in an array

use ^ and $ to match the two ends: /^ACB$/

  • Comment on Re: Looking for exact match in an array