SOLVED
How to parse words from numbers using regex
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
Faye_Karas
7 - Meteor
‎06-03-2024
03:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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 |
Solved! Go to Solution.
Labels:
- Labels:
- Transforming
2 REPLIES 2
15 - Aurora
‎06-03-2024
03:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Faye_Karas ,
This RegEx should work.
(.*?) ([\d,\.]*) (\$[\d,\.]*)
You may want to try your expressions on https://regex101.com/
Good luck.
‎06-04-2024
11:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
worked perfectly! Thank you!
