Alteryx Designer Desktop Discussions

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

RegEx expression

sylvia0218
6 - Meteoroid

Here is the description, the description is wrapped in one Excel cell. 

 

Legal Entity: ABC Inc. 

Account Name: ABC - JPM Chase account

Account #: 123456

ABA Routing #: 997889000

Currency: USD
Bank: JPM Chase

Bank Location: xxxxxxxxxxxxxxx

ID: xxxxxxxxxxxxx

 

How do I write the RegEx expression so that it extracts only the account number "123456" as my output? 

3 REPLIES 3
Bren_Spill
12 - Quasar

@sylvia0218 - see attached. I'm sure the regex experts on here could do a more efficient job!

Qiu
21 - Polaris
21 - Polaris

@sylvia0218 
If we dont use the RegEx tool 😁

0626-sylvia0218.png

Raj
15 - Aurora

@sylvia0218 use the following in formula tool:
REGEX_Replace([YourFieldName], ".*Account #: (\d+).*", "$1")

hope this helps.

Labels