in reply to Re: Re: Need regex to check for disallowed characters
in thread Need regex to check for disallowed characters

From perldoc perlre:

           {n}    Match exactly n times 
           {n,}   Match at least n times
           {n,m}  Match at least n but not more than m times
 
If you want to match exactly one space you could either use just \s or \s{1}.

  • Comment on Re: Re: Re: Need regex to check for disallowed characters