I need a Javascript and .NET regex that checks a string and lets me know if the string only containers one character other than a space.
I want to prevent users from entering something like "wwwwwwwwww wwwwwwwwwww wwwwwwwwwww" but allow them to enter things like "cccccccc ddddddddd".
I'm so bad at regex, so I'm sorry for not coming with code.