Is it possible in JavaScript to find out if the first letter of a word is a capital letter?
var word = "Someword";
console.log( word[0] === word[0].toUpperCase() );
or
var word = "Someword";
console.log( /[A-Z]/.test( word[0]) );
or
var word = "Someword";
console.log( /^[A-Z]/.test( word) );
See toUpperCase()
and test()