regex hanya huruf besar js

if (value.match(/^[A-Z]*$/)) {
    // matches
} else {
    // doesn't match
}
Glorious Gharial