I need a regex that matches a string containing the words with uppercase letters at the begin of the word and moreover the words must be divided by spaces. I'm trying to do it using the following expression:
But in this case the space is not required.
I'm working with ASP.NET Framework 3.5 in C# and i am using for my application DynamicData.
Thus, these values should match: Miass, Nizhniy Novgorod, Staryi Oskol, New York. These values should not: NizhniyNovgorod, nizhniy novgorod.
The spaces are required. It is necessarily that the word must start with the uppercase letter.
Thank you very much.