Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Trim or Regex Functionality help

Jhattarki
5 - Atom

I am trying to use the Regex to achive only the first part of the  name -Williuamsin, Reanie from the below string.

Williuamsin, Reanie;#1355;#Barrie, Kuerra

please can someone help me.

Thank you

4 REPLIES 4
echuong1
Alteryx Alumni (Retired)

You can achieve this easily using the text to columns tool and a ";" as a delimiter. 

 

See attached.

 

echuong1_0-1597689500714.png

 

TSP
8 - Asteroid

If you'd like to use Regex, you could use Regex Parse with the following expression:

 

([^;]*)(.*)

 

This will give you two fields: 

1) Everything upto the first ; which is what you want

2) Everthing else. You can then drop this field in a select too.

 

Hope that helps.

Jhattarki
5 - Atom

Awesome- this worked like charm-appriciate your help.

Thank you!!

echuong1
Alteryx Alumni (Retired)

Great! If this resolved your issue, please mark this thread as solved so others can find answers more easily. Thanks! 

Labels