RegEx Order IDs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi there....
i have an example of messy data where i need to be able to extract the Order IDs from the Order ID Column
The Order ID columns have other data info in them so i looking for clean way to use regex to extract the order ids for each row
Sometimes there will be more than one order id for each row.....eg row 1 has 2 order ids and row 2 has 3 order ids..etc..
Can you help?
Solved! Go to Solution.
- Labels:
- Data Investigation
- Regex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
could you update the workflow attached to show me....its the regex expression i need help with
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I did - but RegEx is something I would consider learning since it is a very useful language for parsing!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Great thanks......the formatting of the order id column may change....
What I really would like is a way to use Regex to search the the word Order ID(s) in column B for each row and the return the whole line e.g....what i want is shown in Column C.....would you be able to update Regex to do that?😀
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Yes you can do that - \|Order ID\(s\)[^\n]+\n would be the regex and you can split to one column instead
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Perfect.....that worked.....thanks for your help.......RegEx is very help and i need to practice 👍
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Agreed - practice makes perfect!
