Alteryx Designer Desktop Discussions

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

Regex

BRRLL99
11 - Bolide

I have following input

 

Field_1
i|
ARC231
500 - HBAU CARD|JOURNAL BY CODE|FILE DATE 30/01/2027|PAGE|
550 - VISA
|Z Z|
|R R|
i|
ARC231
577 - HBAU CARD|JOURNAL BY CODE|FILE DATE 01/01/2027|PAGE|
551 - VISA
|Z Z|
|R R|

 

 

Expected output:  HBAU before digits should be picked

                              VISA before digits should be picked and file date

 

Field_1ID_1ID_2FILE DATE
i|   
ARC231   
500 - HBAU CARD|JOURNAL BY CODE|FILE DATE 30/01/2027|PAGE|50055030/01/2024
550 - VISA   
|Z Z|   
|R R|   
i|   
ARC231   
577 - HBAU CARD|JOURNAL BY CODE|FILE DATE 01/01/2027|PAGE|5775511/1/2027
551 - VISA   
|Z Z|   
|R R|   
5 REPLIES 5
Raj
16 - Nebula

@BRRLL99 
please find attached and
mark as done if solved.

BRRLL99
11 - Bolide

500-HBAU

550-VISA

 

if i remove spaces the regex function is not not working I'm looking for dynamic solution

 

Raj
16 - Nebula

@BRRLL99 
update with the following

(\d{3})\s*-\s*HBAU CARD
(\d{3})\s*-\s*VISA
FILE DATE\s*(\d{2}/\d{2}/\d{4})

mark as done if solved.



PhilipMannering
16 - Nebula
16 - Nebula

@OllieClarke What have you tried?

BRRLL99
11 - Bolide
Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels