Hi,
I want to pick starting two words from the sentence if in a sentence have a word then also pick one word . Please advise.
I used to picked below regex however not working. single word not picking.
Thanks,
Hi @Srawat,
I'm not a massive RegEx guy but I think this should works. It'll tokenize on the first two words or the whole thing if only one word to one new column. The expression I've used is .*?\s.*?\s|.*
Find in attachement one way of doing that using Regex.
Let me know if this answer is ok for you issue or not.
Before
After