ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more 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
binu_acs
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