Join the Alteryx Community’s Maveryx Summer Cup event! Compete, network with others, and earn your gold through a series of challenges from July 24th to August 11th. Learn more about the event here.

Alteryx Designer Desktop Discussions

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

How to parse a column

clarrock
8 - Asteroid

eHi,

 

Below is my input data

VehicleNotesFlag
CARabc1234 abc345Yes
BUSabc78908 2344 capture abc785No

I want to parse my notes column such that anything with the term "abc+number" (ideally ignore anyother number and text like "capture" and "2344" creates a new record with the same vehicle and flag and only the number

 

This is my desired output

VehicleNotesFlag
CAR1234Yes
CAR345Yes
BUS78908No
BUS785No

 

Is this possible on Alteryx?

2 REPLIES 2
caltang
17 - Castor
17 - Castor

Here you go:

image.png

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
flying008
14 - Magnetar

Hi, @clarrock 

 

FYI. if you only want get number after 'abc', then use expression (?<=abc)\d+

 

录制_2023_11_02_15_26_53_316.gif

Labels