my @words = split /\s+/, $string; my @words = $string =~ /(\S+)/g; #### my @bignums = $string =~ /(\d{4,})/;g #### my @funny_delimited = split /(?:,\s+|###|!delim!)/, $string;