Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

use regex to make sure it is a date

^[0-3]?[0-9]/[0-3]?[0-9]/(?:[0-9]{2})?[0-9]{2}$
Comment

PREVIOUS NEXT
Code Example
Javascript :: get date javascript 
Javascript :: react native change app name 
Javascript :: sequelize dialect 
Javascript :: replace class js 
Javascript :: dropzone get response 
Javascript :: how to put text in the center react native 
Javascript :: keyboard event js 
Javascript :: how to get the integer part of a string in javascript 
Javascript :: javascript window size 
Javascript :: js clone element 
Javascript :: remove all symbols javascript 
Javascript :: react addeventlistener useeffect 
Javascript :: javascript array push middle 
Javascript :: javascript check if a number is even or odd 
Javascript :: alert and prompt in javascript 
Javascript :: javascript string contains 
Javascript :: how to hide component in react 
Javascript :: link on click jquery 
Javascript :: redirect to given link jquer 
Javascript :: capitalise first letter js 
Javascript :: jquery set inner text 
Javascript :: string to jsonobject gson 
Javascript :: nodejs https server 
Javascript :: tsconfig.json not generated 
Javascript :: addclass javascript 
Javascript :: javascript element in array 
Javascript :: Internet Speed Checker JavaScript 
Javascript :: vuejs bootsrap modal hidden event 
Javascript :: get parameters from url 
Javascript :: jquery ajax responsetext 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =