Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

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
15 - Aurora

@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
15 - Aurora

@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
Labels