Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

General Discussions

Discuss any topics that are not product-specific here.
SOLVED

Regex Workflow

Suryachoppakatla
7 - Meteor

Hello Friends,

 

I am struggling with one of the issue where I need to write a formula which should able to determine the repeating same TIN numbers in a column. If the number is identical and repeated more than once, then the formula should be able to pick and validate it as "Invalid" else "Valid"

 

I wrote below formula, but it did not worked. NOTE: The TIN numbers are 9 digit 

 

IF REGEX_Match([Recipient's U.S. TIN], ".*(?:(\d)\1{8})") THEN "Invalid" ELSE "Valid" ENDIF

 

Attaching the screenshot of the data for quick reference. Any help is highly appreciated

 

Regards,

Surya

22 REPLIES 22
Suryachoppakatla
7 - Meteor

changes

Suryachoppakatla
7 - Meteor

Details

Suryachoppakatla
7 - Meteor

Test cases

Labels
Top Solution Authors