Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

regex pater for only 4 or 6 digits

^([0-9]{4}|[0-9]{6})$
Comment

PREVIOUS NEXT
Code Example
Javascript :: framer motion styled components 
Javascript :: check if date is valid 
Javascript :: make page refresh on top in react js 
Javascript :: angular module with routing cli 
Javascript :: how to make 1st letter capital in ejs 
Javascript :: .sequelizerc File Setup 
Javascript :: how to add keyframe in emotion stled 
Javascript :: add firebase angular 
Javascript :: turn number into array javascript 
Javascript :: find the missing value in an integer array javascript 
Javascript :: split a string every n characters javascript 
Javascript :: node redis json push to array 
Javascript :: Add Tailwind CSS to Svelte 
Javascript :: disable back button in react native 
Javascript :: javascript oncontextmenu 
Javascript :: convert base64 to uint8array javascript 
Javascript :: jquery destroy element 
Javascript :: settimeout function 
Javascript :: jquery right click 
Javascript :: regex para telefone celular 
Javascript :: documentready 
Javascript :: create copy button react native 
Javascript :: regex all starting with 
Javascript :: convert negative number to positive in javascript 
Javascript :: javascript div id add class 
Javascript :: how to square a value in javascript 
Javascript :: node open file 
Javascript :: how to print two arrays side by side in javascript 
Javascript :: javascript find smallest number in an array 
Javascript :: moment check days of difference between days 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =