Complicated Field Editing Format

It looks as though the forum formatter has swallowed some of the characters.
I found another thread that also deals with duplications:

it uses the semicolon as separator, so I used it for the $meta_sep()
and it suggests such a
Format string: $regexp($reverse($regexp($regexp($reverse($regexp($regexp($meta_sep(artist,;),'^(\s+;|\s;+)+|(\s+;|\s;+)+$|((?<=;)\s+)|(\s+(?=;))',),'^|$',';')),'(;[^;]+)(?=(\1|;.*?\1))',),'^;+|;+$',)),'(?<=;)',' ')