Hi Team,
I'm new to alteryx and was trying to parse data in a column "Task Name" using Regex but something seems to fail. This task name consists of many tasks aling with their material numbers . For Eg, In task name column which is shown below conists of tasks like "Assembly", "Approval" and material numbers like "1-1718647-1", "2314055-2" etc.
I wanted to parse "1-1718647-1", "2314055-2" material numbers out of these columns and want the output to be shown as below.
I used this regex expression "(^\d+\>\W\d+|\<\W\d\>)" to get the output but seems to fail.
Can anyone help on this?
Also, have attached excel file which has these columns for reference.
| Task Name | RegexOut |
| Assembly | |
| Approval | |
| 1-1718647-1 Housing 2 Pos. | 1-1718647-1 |
| 1718654-1 Retainer 3 Pos. | 1718654-1 |
| 1-1802616-1 6 Pos. MCON | 1-1802616-1 |
| 1802572-1 Housing | 1802572-1 |
| 1-1802083-1 | 1-1802083-1 |
| 0-2366427-4 | 0-2366427-4 |
| 2314055-2 | 2314055-2 |
| 53P | |