in reply to Split a string with multiple trailing delimeters?

Given your desired output, '**' is a terminator rather than a separator, so split isn't appropriate.

my @values = $str =~ /(.*?)\*\*/sg;

If the last terminator is optional:

my @values = $str =~ /(.*?\*\*|.+)/sg; s/\*\*\z// for @values;