0

here is a regex : [,-_ ]+titi[,-_ ]+.

Here's a test case : "tata - titi _ Toto"

The regex is meant to capture "titi" plus optional delimitating characters, including blankspace, so that I can then change "tata - titi _ Toto" to "tata Toto".

I can't for the life of me figure what is capturing the T of Toto, and doesn't capture it when going case insensitive.

Benjamin Hodgson
  • 42,952
  • 15
  • 108
  • 157
pouzzler
  • 1,800
  • 2
  • 20
  • 32

0 Answers0