Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

REPLACE() in a non-case-sensitive way?

Claje
14 - Magnetar

Hi,

This question is probably rather basic, but I didn't actually realize until today that the behavior of the REPLACE() function is case sensitive.

What's the best way today to use a non-case-sensitive REPLACE() function?  Would REGEX_REPLACE() accomplish what I need?

2 REPLIES 2
MarqueeCrew
20 - Arcturus
20 - Arcturus

yes.  regex_replace([field],"WoRd", 'Replacement') will work because the default is case insensitive.

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Claje
14 - Magnetar

I will begin updating all of my formulas ;)

Thank you very much for the quick reply!

Labels