I am trying to achieve the result shown below. If someone can assist it would be quite helpful. Thanks 🙂
Solved! Go to Solution.
If you don't use the (?:) part then the expression is : ".* Street" or "Avenue".
With the parenthesis it's : ".* Street" or ".* Avenue"
Hi @Emil_Kos
@Jean-Balteryx wrote:
"?:" means it's an unmarked group so it's not parsed on its own but it rather allows to create a group where a value can be different from one row to another.
So this unmarked group is used only as keyword list and it wont be parsed on it owns.
Amazing method @Jean-Balteryx 🙂👏
Wow, that is super cool! Thank you for explaining @Jean-Balteryx
You're welcome @Emil_Kos !
I remember see this in one of the interactive lessons don't remember which 🤔😅
Hi @sanjit11,
Based on the 4 lines of the data that you have used you need to use the below regex.
(.* (?:Street|Avenue|Road|Ave)) (.*), (.*?) (.*)
Please mark one of the @Jean-Balteryx posts as a solution as he created a working solution for you.
Hi @Jean-Balteryx , @Emil_Kos and @atcodedog05 ,
Thanks alot for all your inputs.
@Jean-Balteryx thanks for the solution, worked fine ! 🙂
Awesome @sanjit11 Happy to help and I am happy that I have learned something cool along the way 😀