SOLVED
Trying to pull an 8 digit number from a description column using the RegEx tool
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
F5_GL
6 - Meteoroid
‎09-26-2023
01:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello,
I am completely new to regex syntax. Could anyone help me figure out how to parse out the 8 digit numbers from the data below. The numbers will always start with 81 and be 8 digits but could be anywhere within the string.
81036015 Talisen Construction Corporation
PO 81036666 Systems source, inc Task chairs
TIMBER IT Consulting inv 4418 PO 81033202
Thanks!
Solved! Go to Solution.
3 REPLIES 3
cjaneczko
13 - Pulsar
‎09-26-2023
01:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
If there arent any other 8 character digit sets in the any of your strings you can use (\d{8}) or if they all start with 81 then ([81]+\d{6}).
binuacs
21 - Polaris
‎09-26-2023
01:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@F5_GL One way of doing this with the regex tokenize method
‎09-26-2023
06:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks so much - so cool!
