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

Number parse by specific text

SagarGite
7 - Meteor

Hi ,

 

I have data from which I would like to extract number which associated with key word "mg".

 

Between key word and number spaces can be associated or not.

 

PresentationExpected OutPut
ARIPIPRAZOLE 30MG TABLETS30
AROVI 100MG/1ML SOLUTION FOR INJECTION100
ARTESUN 60MG POWDER AND 60
ARTESUNATE 50 MG TABLETS50
ARSENIC 10 MG/10ML 10

 

Can someone hel

1 REPLY 1
ArtApa
Alteryx
Alteryx

Hi! This is a couple of examples how you can achieve the result:

 

ArtApa_0-1594440568576.png

 

Labels
Top Solution Authors