Use
^[^\s.]+[\s.]+
See proof.
EXPLANATION
--------------------------------------------------------------------------------
^ the beginning of the string
--------------------------------------------------------------------------------
[^\s.]+ any character except: whitespace (\n, \r,
\t, \f, and " "), '.' (1 or more times
(matching the most amount possible))
--------------------------------------------------------------------------------
[\s.]+ any character of: whitespace (\n, \r, \t,
\f, and " "), '.' (1 or more times
(matching the most amount possible))
Another way is also possible:
^.*[\s.]
See another proof.
--------------------------------------------------------------------------------
^ the beginning of the string
--------------------------------------------------------------------------------
.* any character except \n (0 or more times
(matching the most amount possible))
--------------------------------------------------------------------------------
[\s.] any character of: whitespace (\n, \r, \t,
\f, and " "), '.'