2

I'm trying to create regular expression that matches on any string except one that contains the word "blog". I know that Re2 Doesn't support negative look aheads, but wasn't sure if there was a workaround for this (I couldn't find a definitive answer when looking around on StackOverflow). Is anyone able to point me in the right direction?

I'm a bit stuck using Re2 in this situation because that's what Google Analytics + Zapier allows.

In another flavor of regex, I think that (?s)\A(?!.*?data:).* would work, but I don't think that'll work here.

Wiktor Stribiżew
  • 607,720
  • 39
  • 448
  • 563

0 Answers0