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 Cloud Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Cloud.
SOLVED

How to parse words from numbers using regex

Faye_Karas
7 - Meteor

How can I use Regex to parse words from numbers using regex.  Below is a sample data set

 


CHECKS ISSUED 22,801 $20,083,825.49

MANUAL DELETE RETURN MAIL (DRM) 58 $48,329.66

 

Expected output :

CHECKS ISSUED 22,901$20,000,825.59
MANUAL DELETE RETURN MAIL (DRM) 59$48,929.66

 

2 REPLIES 2
Yoshiro_Fujimori
15 - Aurora
15 - Aurora

Hi @Faye_Karas ,

 

This RegEx should work.

(.*?) ([\d,\.]*) (\$[\d,\.]*)

 

You may want to try your expressions on https://regex101.com/

Good luck.

Faye_Karas
7 - Meteor

worked perfectly!  Thank you!