function comprobarSiEstaEnMayusculas($texto){ if(ereg('[A-Z]+',$texto)) { return true; }else{ return false; }}