Cast your vote for the official 2025 Inspire Pin! Designs were submitted by fellow Community members and reflect the creativity and passion of Alteryx users across the globe. Vote now!
Free Trial

Alteryx Designer Desktop Discussions

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

Keep numeric data

MZ900605
アステロイド

Hello, friends, I have data that should be only numbered but due to mistakes, it contains now symbols or letters.

but keep the decimal. anyhelp?

 

example:

Datadesired result
12.3A736@12.3736
2134.9A2134.9
789i/17891
122$#1212212
2件の返信2
atcodedog05
22 - Nova
22 - Nova

Hi @MZ900605 

 

Use regex formula like below

REGEX_Replace([Data], "[^\d.]+", "")

 

Workflow:

atcodedog05_0-1641491720849.png

 

Hope this helps : )

 

BrandonB
Alteryx
Alteryx

Maybe a formula like this?

 

REGEX_Replace([Data], "[^0-9\.]", "")

ラベル
トップのソリューション投稿者