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. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

How to extract number from cell

Anjankumar2021
8 - Asteroid

Hi Team,

 

please assist to extract specific number from cell.

 

**remove first 8 digits 

**remove last 6 digits

 

Input
Product ID
2025052200786767910001-1
2005052200786768180001-1
2028052200786768690001-1
2029052200786768490001-1
2026043000755774070001-2

 

required output:

 

Output
Updated ID
0078676791
0078676818
0078676869
0078676849
0075577407
2 REPLIES 2
Qiu
21 - Polaris
21 - Polaris

@Anjankumar2021 

We can use the RegReplace formula or RegEx tool with same Regex.

0529-Anjankumar2021.png

lukas_olsovsky
8 - Asteroid

Hi @Anjankumar2021  I would use formula tool for that - with left, right function. There is a also function "trimLeft" / "trimRight" but it didn´t work for your sample.

 

Try by yourself :)

solution for user.jpg

Labels
Top Solution Authors