in reply to Parsing a sentence based on array list

Not the greatest code, but this works:
$ perl -E 'my $line ="Lorem ipsum dolor sit amet, consectetur adipisic +ing elit."; my @array = ("ipsum", "sit amet", "elit"); my $re=join "| +",@array; $r=qr{$re}; say for $line=~/(.*?)$r(.*?)/g' Lorem dolor , consectetur adipisicing
Could use some cleanup of the empty returns.
Splitting the returned info into words is left as an exercise.

             My goal ... to kill off the slow brain cells that are holding me back from synergizing my knowledge of vertically integrated mobile platforms in local cloud-based content management system datafication.