SOLVED
RegEx question
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Miki2021
8 - Asteroid
‎10-15-2021
05:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi all,
I want to replace the original sales order number to SAP number:
Order number on sales platform: 555555
Order number on SAP: 8000555555
Is there a better way to use RegEx to do the trick rather than using Excel to change the raw data?
thanks in advance!
Solved! Go to Solution.
Labels:
- Labels:
- Regex
4 REPLIES 4
Nanoq
8 - Asteroid
‎10-15-2021
05:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
if you "just" need to add 8000 in front of the platform number, you can do the folowing in a formula tool:
"8000"+tostring([PlatformNumber])
-no need for regex
‎10-15-2021
05:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@Nanoq thanks for the tip - do I need to change the original numeric format to string?
22 - Nova
‎10-15-2021
05:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Miki2021
You can use the formula like below should take numeric type and give numeric type.
ToNumber("8000"+tostring([PlatformNumber]))
Hope this helps : )
20 - Arcturus
‎10-15-2021
05:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
