Hello,
Is there a way to pull values from a string if they match a list? I’m using regex_replace in the formula tool to extract these values, but the string isn't consistent (ie, preceding and proceeding text/characters may be different, per below example) and sometimes there's spacing/character issues so it doesn't always give me an output. so was wondering if I'd have a better chance if I provided the exact values, and have the workflow go through the whole list to find a match and extract it from the string. hope this makes sense. thank you in advance!
I'm on Alteryx Designer version 2024.1.1.93 if that helps.
sample list:
583920174
917463205
264851739
Sample Strings:
"ORIG: ACCOUNT NAME, INC. ID: 264851739BNF: RECIPIENT NAME LLC 123 SESAME ST ELMO PARK, NEW YORK 12345 US ID:583920174BNF BK: COOKIE MONSTER BANK"
"B/O BANK=/00917463205123 SESAME ST ELMO PARK, NEW YORK 12345 USCUSTOMER=/583920174 RECIPIENT NAME LLC 123 SESAME ST ELMO PARK, NEW YORK 12345 US BANK=/COOKIE MONSTER BANK"