in reply to Re: Regex to only show 2nd character of the same character in a string
in thread Regex to only show 2nd character of the same character in a string

If you're right, then the following would do:
my @chars = /(.)\1/sg;
  • Comment on Re^2: Regex to only show 2nd character of the same character in a string
  • Download Code