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. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
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