s/\s*#.*$//; # first remove any comments #### /([^\s]+)/; #### /(\S+)/;