Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

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