There is no problem when the regexp parameters have been 'literalized', that means, enclosed in single apostrophes.
$regexp($meta(artist),'^(.*), (.*)$','$1 and $2')From: Artist 1,Artist 2To: Artist 1 and Artist 2From: Artist 1,Artist 2,Artist 3To: Artist 1,Artist 2 and Artist 3