Join the Inspire AMA with Joshua Burkhow, March 31-April 4. Ask, share, and connect with the Alteryx community!

Alteryx Designer Desktop Discussions

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

RegEx help needed

Brad1
11 - Bolide

Hi,

 

I'm trying to place a comma and a space after the letter 'X' whenever it is found.  Also the last character will be an 'X' - I'm not wanting a comma or space there.  Example.

 

123X7QAX40Z1X

becomes

123X, 7QAX, 40Z1X

 

Thanks in advance for any help.

2 REPLIES 2
binuacs
21 - Polaris

@Brad1 one way of doing this with the replace() function

image.png

Brad1
11 - Bolide

Works great.  Very nice.  Thanks. 

Labels
Top Solution Authors