Answers for "javascript regex not in a set of characters"

0

javascript regex not in a set of characters

// Regex - Any character not in a set of characters
let notBinary = /[^01]/;
console.log(notBinary.test("1100100010100110"));// false
console.log(notBinary.test("1100100010200110")); // true
Posted by: Guest on June-28-2020

Code answers related to "javascript regex not in a set of characters"

Code answers related to "Javascript"

Browse Popular Code Answers by Language