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

Alteryx Designer Desktop Discussions

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

Payment References with Special Characters

Hussein982
8 - Asteroid

Hi All: 

 

I have an invoice and payment file and I need to create a computed field that flags for special characters and use FIND function to search for “*,” “#,” “%,” “@” and “DO NOT USE.”

 

How can I customize this to my requirement.

 

Appreciate the help in advance.

 

Cheers,

 

2 REPLIES 2
Qiu
21 - Polaris
21 - Polaris

@Hussein982 
Maybe we can try Find and Replace and its eary to maintain.

CaptureT1.PNG

AkimasaKajitani
17 - Castor
17 - Castor

Hi @Hussein982 

 

You can use RegEx_Match function at Formula tool.

 

IF REGEX_Match([Field1], ".*[\*#%@].*")=0
THEN "DO NOT USE" 
ELSE "USE" 
ENDIF

 

AkimasaKajitani_0-1614919812662.png

Result:

AkimasaKajitani_1-1614920549248.png

 

 

Labels
Top Solution Authors