Regular Expressions 101

Sponsors

Library entries

0
python

Postcode (UK)

Detects UK postcodes (minimal edge cases)
Submitted by anonymous - 7 days ago
0
python

PO Number

Detects specific prefixes followed by number series
Submitted by anonymous - 7 days ago
0
python

Credit Note

Detects specific word in a sentence
Submitted by anonymous - 7 days ago
0
pcre2

Postfix

Add DR to end of line
Submitted by anonymous - 7 days ago
0
python

dice thing

Stuff for a dnd thing
Submitted by Cata - 7 days ago
0
python

完形填空

完形填空
Submitted by anonymous - 9 days ago
0
python

恩更

非法发
Submitted by anonymous - 9 days ago
0
python

CPF|CNPJ

Match Brazilian documents
Submitted by Bacco - 10 days ago
0
pcre

Time in hh:mm:ss

19h32min16s
Submitted by anonymous - 10 days ago
0
python

SUBTOTAL

SUBTOTAL 15.88
Submitted by KRISHNA - 11 days ago
0
python

DEPIT INFO

K
Submitted by K - 11 days ago
0
python

Regex

wifiwnsml
Submitted by krishabj - 11 days ago

<input type="datetime-local" /> 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])T(0\d|1\d|2[0-4]):(0\d|[1-5]\d)(?::(0\d|[1-5]\d))?(?:.(00\d|0[1-9]\d|[1-9]\d{2}))?$
/
gm

Description

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