$_ = "is this odd or not?"; @a = /(.*? )/gs; # note the ? is followed by a space print "@a";