Field values are
org1 org2 org-cda-xx org4
org2 org1 org6 org-cda-yy
ORG-CDA-zz org1 org6 org8 org9
Expected output is
org-cda-xx
org-cda-yy
ORG-CDA-zz
Solved! Go to Solution.
Hi Please find the workflow attached:
The workflow is looking for a pattern like this any 3 signs - any 3 signs - any 2 signs.
We cant apply condition with - because there will be - in other words also like below and lengths are not fixed
org1-org org2 org-cda-xx org4
org2 org1 org6-orgee org-cda-yyy
ORG-cda-zzdf dforg1 org6 org8 org9
In this case also my expected output should be. Please help with some suggestions
org-cda-xx
org-cda-yyy
ORG-cda-zzdf
We cant apply condition with - because there will be - in other words also like below and lengths are not fixed
org1-org org2 org-cda-xx org4
org2 org1 org6-orgee org-cda-yyy
ORG-cda-zzdf dforg1 org6 org8 org9
In this case also my expected output should be. Please help with some suggestions
org-cda-xx
org-cda-yyy
ORG-cda-zzdf
Sorry for confusing you.
In my expected output common word is org-cda- after this hyphen whatver word may come
In that case how it works?
Alternative:
regex_teplace([field], "\s*org\d\s*", 'm)
will eliminate
space if it exists plus org followed by a number followed by a space of out exists.
cheers,
mark