Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

date regex

^(0?[1-9]|[12][0-9]|3[01])[/-](0?[1-9]|1[012])[/-]d{4}$
Comment

date regex format

(^(((0[1-9]|1[0-9]|2[0-8])[/](0[1-9]|1[012]))|((29|30|31)[/](0[13578]|1[02]))|((29|30)[/](0[4,6,9]|11)))[/](19|[2-9][0-9])dd$)|(^29[/]02[/](19|[2-9][0-9])(00|04|08|12|16|20|24|28|32|36|40|44|48|52|56|60|64|68|72|76|80|84|88|92|96)$)
Comment

regex date

^(?:(?:31(/|-|.)(?:0?[13578]|1[02]|(?:Jan|Mar|May|Jul|Aug|Oct|Dec)))1|(?:(?:29|30)(/|-|.)(?:0?[1,3-9]|1[0-2]|(?:Jan|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec))2))(?:(?:1[6-9]|[2-9]d)?d{2})$|^(?:29(/|-|.)(?:0?2|(?:Feb))3(?:(?:(?:1[6-9]|[2-9]d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:0?[1-9]|1d|2[0-8])(/|-|.)(?:(?:0?[1-9]|(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep))|(?:1[0-2]|(?:Oct|Nov|Dec)))4(?:(?:1[6-9]|[2-9]d)?d{2})$
Comment

PREVIOUS NEXT
Code Example
Javascript :: react native webview not working 
Javascript :: loop through an array in js 
Javascript :: jquery find index of this 
Javascript :: make multiple array in one array 
Javascript :: laravel http send data json raw 
Javascript :: @babel/plugin-proposal-optional-chaining 
Javascript :: js undici fetch data 
Javascript :: javascript change color every second 
Javascript :: react-native navigation screen props 
Javascript :: npm install nodemon 
Javascript :: javascript onclick button 
Javascript :: yarn incompatible module node 
Javascript :: run function then empty it javascript 
Javascript :: javascript change background color setinterval 
Javascript :: javascript fibonacci sequence recursion 
Javascript :: how to get the size of the window in javascript 
Javascript :: nodejs routes 
Javascript :: prisma query log 
Javascript :: promise all then 
Javascript :: react render component after fetch 
Javascript :: how to remove more than one attribute using jquery 
Javascript :: deploy vue js to shared hosting 
Javascript :: how to submit form on changed url in function in jquery 
Javascript :: how to print in javascript 
Javascript :: linking html with javascript 
Javascript :: cart page url in shopify 
Javascript :: how to check password and confirm passwor in joi 
Javascript :: how to remove quotes using regex 
Javascript :: jquery wait for function to finish 
Javascript :: javascript DOM query selector 
ADD CONTENT
Topic
Content
Source link
Name
7+9 =