Split country GB, GBGB, GBGBGB to GB, GB;GB, GB;GB;GB

thank you for your time

I made the regular expression in an action group.

It split only the first GB (GB;GBGB)

After consideration I “want” something more complicated.

It will be possible the plugin creates : GBDESE (United Kingdom, Germany, Sweden)

Also I go 1 step further and create a double: GBDESESE (United Kingdom, Germany, Sweden, Sweden)

So what I really after is:

split GB;DE;SE;SE and after that remove the doubles so the end result would be:

GBDESESE ==> GB;DE;SE

I don’t understand nothing from regex, for me this is chinese :stuck_out_tongue: