Regular Expression asp.net. Input could not contain double spaces

Posted by xkevin on Stack Overflow See other posts from Stack Overflow or by xkevin
Published on 2010-03-23T00:56:11Z Indexed on 2010/03/23 1:01 UTC
Read the original article Hit count: 345

Filed under:
|

How can I write regular expression in C# to validate that the input does not contain double spaces? I am using Regular Expression Validation. However I do not know what is the Validation Expression to get the result.

"white snake"  : success
"white  snake" : fail

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about regex