JSFiddle - React, Tailwind, and code Playground
JavaScript
let arr =["test", 'xyz', '1 test', 'ramu'];
let ans = arr.filter(x=> {
let temp = x.toUpperCase().charCodeAt(0);
console.log(temp);
if(temp<=65 || temp>=91) {
return x;
}
})
console.log(ans);