What do you want the array to contain? ('gat', 'i2345')? Then _ is the delimiter. If you want to add the entire string to the array, simply use push @array, $string;.
Comment on Re^3: how can i split a string to an array and convert it into regular expression