Alteryx Designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.

'Tis the season to be spooky! Read our new blog, How Spooky is Your City? Mapping and Predicting Scary Stuff. In it, @SusanCS provides a fun glimpse into using data to figure out the creepy quotient of where you live!


REGEX help or formula help

11 - Bolide

I'm trying to write a formula or use the RegEx tool that will change:


123 Starry St




123 Starry Street  (and not 123 Streetarry Street)


I'd like to do some sort of Regex Replace.  I also need to account for "STE" to "Suite" and others.

Alteryx Certified Partner
Alteryx Certified Partner

Hi @Brad1 ,


Use the find replace tool for that. Set it like in the example and it should work. You can keep adding terms to be searched on the list without problem.





11 - Bolide

I was able to figure it out using RegEx.  Thx.

Alteryx Certified Partner
Alteryx Certified Partner



While you can use a Regular Expression to get your desired results (Below), the RegEx is a more expensive function than the find/replace.  It also requires a little more testing and is a little more difficult to train your successor in.


REGEX_Replace( REGEX_Replace( 
		REGEX_Replace([Address], "\bSt\b", 'Street'),"\bAve\b",'Avenue'),"\bSte\b",'Suite')




Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and reboot. Order shall return.