Hi all,
I have a column like so:
2021-09-01 10:35:19 - John Smith (Approval history)
How can I parse this column to extract "John Smith" out of this?
thanks, would you mind explaining how it finds the name ?
Ie there are times where a record may have multiple names in the string.
What if I want to get the first or last name shown in a string?
Names are almost always followed by (), ie John Smith (approval history) or Louis Steven (alteryx approval)
A string could be like:
{date} John Smith (approval history) and Louis Steven (alteryx approval)
Hi @wonka1234
In that case it would be best for you to provide a representative dataset to get the best answer. To answer your question on @binuacs 's nice solution:
.*\-\s(.+).\(.*
The bit in parenthesis is what the formula parses out.
@wonka1234
We can also do it in a Non-RegEx way.