JavaScript Regex tidak dalam satu set karakter
// Regex - Any character not in a set of characters
let notBinary = /[^01]/;
console.log(notBinary.test("1100100010100110"));// false
console.log(notBinary.test("1100100010200110")); // true
Code Wrangler