Team,
Hope all is well/
I may of asked this question before, ( apologies if i have)
I have a Column called "Channel" Whilst looking at the values within the "Channel" column it has become transparent there is no standardization and format is all over the place.
All i want to do is extract the 6-digit number found within channel
Example Data
| ID | Channel |
| 11111 | 401015 - DM-NA-DM US Insurance |
| 22222 | DM-NA-DM US Insurance-401015 |
| 33333 | 401015 - DM-NA-DM Northeast Insurance |
44444 | 401015.000000000000000 |
Expected outcome
| ID | Channel | Expected outcome |
| 11111 | 401015 - DM-NA-DM US Insurance | 401015 |
| 22222 | DM-NA-DM US Insurance-401015 | 401015 |
| 33333 | 401015 - DM-NA-DM Northeast Insurance | 401015 |
44444 | 401015.000000000000000 | 401015 |
Unfortunately i cant attached my workfow (but below is a screen shot of my flow but looks too simple.
1st Data Cleanse : channel (Remove "leading and trailing white space, tabs, line breaks and duplicates and letters)
Regex : #|_|(\d+)\D+(\d+)?\D?(\d+)?
2nd Data Cleanse : channel (Remove "leading and trailing white space, tabs, line breaks and duplicates and Punctuation)
Text to columns : Split to rows
Filter on length = 6
