Yes it does, in order to avoid "1234 Red 5678" becoming "12345678". Feel free to remove extra whitespace afterwards. Doing it in the regex would needlessly complicate it.
s/.../ /xg; s/^\s+//; s/\s+$//;
In reply to Re^3: RegEx to match at least one non-adjacent term
by ikegami
in thread RegEx to match at least one non-adjacent term
by Cefu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |