I have the following line:
hshd household 8/29/2007 LB
I want to match anything that comes before the first space (whitespace). So,
Derived from the answer of @SilentGhost I would use:
^([\S]+)
Check out this interactive regexr.com page to see the result and explanation for the suggested solution.