Regular Expressions 101

Sponsors

Library entries

0
python

Postcode (UK)

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

PO Number

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

Credit Note

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

Postfix

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

dice thing

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

完形填空

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

恩更

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

CPF|CNPJ

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

Time in hh:mm:ss

19h32min16s
Submitted by anonymous - 14 days ago
0
python

SUBTOTAL

SUBTOTAL 15.88
Submitted by KRISHNA - 15 days ago
0
python

DEPIT INFO

K
Submitted by K - 15 days ago
0
python

Regex

wifiwnsml
Submitted by krishabj - 15 days ago
0
javascript

Email regex

email regex with subdomain
Submitted by anonymous - 15 days ago

Date Validation

Vote

0

Regular Expression
javascript

/
^(?:(?:(?:0?[13578]|1[02])(\/|-|\.)31)\1|(?:(?:0?[1,3-9]|1[0-2])(\/?|-|\.)(?:29|30)\2))(?:(?:1[6-9]|[2-9]\d)?\d{2})$|^(?:(?:0?2)(\/?|-|\.)(?:29)\3(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:(?:0?[1-9])|(?:1[0-2]))(\/?|-|\.)(?:0?[1-9]|1\d|2[0-8])\4(?:(?:1[6-9]|[2-9]\d)?\d{2})$
/
gm

Description

Loading markdown...
Submitted by Ashish - 7 years ago