Hi - I am trying to parse this (Booking Point) into just the number (Cost Center) and all text after the underscores (Description)
Thanks!
Hi jenner85,
Parsing with a regex should work. See attached example.
Try using regex.
See attached for an example.
I would suggest a RegEx tool in Parse mode with expression:
.*?(\d+).*?_([^_]+)$
The number will be extracted by (\d+) and the rest after the _ by ([^_]+)
Sample attached
@jenner85
I used this expression:
\D*?(\d+)\D.*?_(.*)
It looks for non-numbers until it finds a set of numbers and then looks for the last stuff after the last underscore.
I put the expression into an RegEx tool (configure as parse).
Cheers,
Mark