The pattern should match word with capictal letter .
words are seprated with [ ]+
But the last word should not have [ ] after it.
there is no limit of number of the words.
I have managed to do : (http://regexr.com?32s1h)
^([A-Z]{1}[a-z]+([a-z]+)?[ ]+)+$
which is Working for Xav Tvc Dcc_ //notice the last space
but not for Xav Tvc Dcc
How can i fix my regex ?
If space behind the last word is optional, use regex pattern
…and if there should not be a space behind the last word, then go with