Regular Expressions 101

Sponsors

Library entries

1
python

PCI Device

no description available
Submitted by anonymous - 8 years ago
1
javascript

Uppercase words

no description available
Submitted by MaaxZoom - 8 years ago
1
pcre

image.ext check

regexp for match images extension (png,jpg,jpeg,gif)
Submitted by dummy - 8 years ago
1
pcre

Log entry Regex

no description available
Submitted by KP - 8 years ago
1
pcre

daily 204

no description available
Submitted by anonymous - 8 years ago
0
pcre

webui

webui test
Submitted by Stelsy - 8 years ago
5
pcre

URL

URL Description from Dr. M. G. @ Brookes
Submitted by anonymous - 8 years ago
0
pcre

TCP/UDP port number

validates TCP/UDP port number (1..65535)
Submitted by sanchox - 8 years ago

Validate date

Vote

0

Regular Expression
pcre

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

Description

Loading markdown...
Submitted by Dilakv - 8 years ago