return line.match(/^integer.*?\"(\S+)\"/)[1] #### @a =($1,$2,$3,$4) ; #### @a=$foo[1..4];