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]) );
var word = "Someword"; console.log( /^[A-Z]/.test( word) );
See toUpperCase() and test()