in reply to want regex to find 2nd and 3rd occurence of a character

Instead of using split() and a complicated regex, I think I'd use index() and substr().
  • Comment on Re: want regex to find 2nd and 3rd occurence of a character