in reply to Re: Inefficient regexin thread Inefficient regex
\s+ - matches one or more space characters [^\s+] - matches one character that is not a space nor a '+' [^\s]+ - (what you may have meant) matches one or more non-space characters.