Hi Stella,
Try below expressions:
^\S* or ^([\S]+)
Hi Stella, do you have to use regex? If not have a look at the community commons on the market place. It contains a java action to split strings according to a specific character, in your case splitting by the spaces.
You would only have to add a trailing space again.
Br
Alex