Make regex non-case sensitive

I’m writing this regex in Pipeline Builder:
(dba|o/a|d\.b\.a\.|oa|dba:)

It should to replace any of these strings with empty strings:
dba
o/a
d.b.a.
oa
dba:

I want to make it non-case-sensitive - have tried a few variations like this:
(dba|o\/a|d\.b\.a\.|oa|dba:)/i (suggested by ChatGPT)
and this:
(?i)(dba|o/a|d\.b\.a\.|oa|dba:) (suggested by AIP Assist)
neither seem to work - anyone know how to do this?

The ?i should make it non case sensitive. Do you have an example input where this doesn’t work and what you’re getting instead? I pasted in the regex suggested by AIP Assist and it looked like it worked

The problem here may actually that Pipeline Builder doesn’t respond to certain inputs in the way I’d expect.

I tried the AIP-assist suggested pattern, and it returned the previous query -which was without (?i)

So perhaps it’s a problem to do with something like caching queries - even though I refreshed the page + went in and out of my pipeline.

FWIW I’ve seen behaviour like this before with regexes - you update the regex, and the output doesn’t change.

Are you always clicking “Apply” after making your change? I wasn’t able to reproduce that behavior in my pipeline but if you have a repro please share!

It sounds like the regex works but let us know if you have further questions