Regular Expressions 101

Sponsors

Library entries

0
javascript

replace text in tag

find and replace text in tag
Submitted by anonymous - a day ago
0
javascript

only .ts .tsx .js .jsx

get files extension
Submitted by HZ - 2 days ago
0
javascript

Get YouTube ID in link

regex for get video id in link
Submitted by anonymous - 2 days ago
0
pcre2

VAQ234S

1
Submitted by anonymous - 3 days ago
0
pcre2

belcorp

test
Submitted by anonymous - 5 days ago
0
pcre2

C/F temp unit

me
Submitted by anonymous - 6 days ago

<input type="date" /> pattern

Vote

1

Regular Expression
javascript

/
^(000[1-9]|00[1-9]\d|0[1-9]\d\d|100\d|10[1-9]\d|1[1-9]\d{2}|[2-9]\d{3}|[1-9]\d{4}|1\d{5}|2[0-6]\d{4}|27[0-4]\d{3}|275[0-6]\d{2}|2757[0-5]\d|275760)-(0[1-9]|1[012])-(0[1-9]|[12]\d|3[01])$
/
gm

Description

Loading markdown...
Submitted by Ann MB - 4 months ago