i try to get everything that doesn't fit in hooks with regex in OpenRefine but i'm stuck.
i have done this :
/^([a-z]+)\[[a-z]+\]([a-z]+)/
but I can't "repeat" my rule so that it applies in all these cases.
here are my test character strings :
abcd[zz]efgh[zz]ijkl[zz]
# i want: abcd efgh ijkl
abcd[zz]efgh[zz]ijkl
# i want: abcd efgh ijkl
abcd[zz]efgh
# i want: abcd efgh
abcd[zz]
# i want: abcd
[zz]abcd
# i want: abcd
Thank you in advance