Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

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