In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. 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

Extracting values from Text files using RegEx

jerry_jk
6 - Meteoroid

Hi All.

 

I'm trying to extract a value from text file (Swift Message) & export to excel using RegEx and Parser but is not giving desired results.  Below is example of dummy data.

 

{

:16R:LINK

:20C::TRRF//JU41114

:16S:LINK

}

 

{

:16R:LINK

:20C::TRRF//5241520926595

:16S:LINK

}

 

{

:16R:LINK

:20C::TRRF//4111452201

:16S:LINK

}

 

Expected Output

 

TRRF

JU41114

5241520926595

4111452201

2 REPLIES 2
Luke_C
17 - Castor
17 - Castor

Hi @jerry_jk 

 

Here's a regex and non-regex way to do this.

Luke_C_0-1649948155812.png

 

jerry_jk
6 - Meteoroid

Thanks @Luke_C .

Labels
Top Solution Authors