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

REGEX help please

NatSnook
8 - Asteroid

Hi regex gurus 🙂

i have a large set of filenames which contain an identifier in various positions of the filename. the identifier is two characters which are always the same followed by 5 digits that vary eg 

 

this is the filename for AB12345.pdf

AB54321 details here.docx

also AB32145 info here.pdf

 

is there a way of parsing this in regex to extract the 7character identifiers?

 

TIA

Nat

2 REPLIES 2
KarolinaRoza
11 - Bolide

hi @NatSnook 

 

please try Regex with formula:

 

KarolinaRoza_0-1624965191915.png

(\w{2}\d{5})

 

regards,

Karolina

 

NatSnook
8 - Asteroid

perfect thank you - silly i couldn't work that one out 🙄

Labels
Top Solution Authors