in reply to Re^3: regex question
in thread regex question

my @words = ($s =~ /([^*]+)/g);
Note that this code skips empty fields (leading, trailing, or internal)—for example, @words becomes ('a', 'b') if $s is a**b. Of course, this may be the desired behaviour.