showing results for - "javascript regex not in a set of characters"
Pablo
28 Jan 2018
1// Regex - Any character not in a set of characters
2let notBinary = /[^01]/;
3console.log(notBinary.test("1100100010100110"));// false
4console.log(notBinary.test("1100100010200110")); // true