Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

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
Comment

PREVIOUS NEXT
Code Example
Javascript :: if event keycode and click 
Javascript :: box shadow generador react native 
Javascript :: useref array 
Javascript :: delete object not working 
Javascript :: next js get query parameters 
Javascript :: react pdf 
Javascript :: javascript atan2 
Javascript :: updatedAt mongoose stop 
Javascript :: of rxjs 
Javascript :: how to end a javascript program 
Javascript :: how to fetch data from another website in javascript 
Javascript :: delete js 
Javascript :: puppeteer stealth popup 
Javascript :: check install modules npm directory 
Javascript :: js reading file 
Javascript :: sprintf js 
Javascript :: find element in an array and replace it by a callback function 
Javascript :: currency conversion to locale string js 
Javascript :: javascript array foreach 
Javascript :: await the end of subscribe angular 
Javascript :: find key in nested json object 
Javascript :: each function 
Javascript :: production server next.js 
Javascript :: how to compare two strings in javascript if condition 
Javascript :: jsonplaceholder typicode 
Javascript :: express 
Javascript :: google script new date 
Javascript :: infinite carousel javascript 
Javascript :: label tag alternative in react native 
Javascript :: jquery remove all alerts 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =