Regular Expressions 101

Sponsors

Library entries

1
pcre

image.ext check

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

Log entry Regex

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

daily 204

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

webui

webui test
Submitted by Stelsy - 7 years ago
5
pcre

URL

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

TCP/UDP port number

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

Strict email validation

no description available
Submitted by anonymous - 7 years ago
1
pcre

vx

sv
Submitted by cv - 7 years ago
1
pcre

PHPfrance soustraction d'une chaîne

no description available
Submitted by anonymous - 7 years ago
1
pcre

sd

asd
Submitted by asd - 7 years ago
1
pcre

fixer

no description available
Submitted by t - 7 years ago

ISO 8601 date

Vote

3

Regular Expression
pcre

/
^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24\:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$
/
mgi

Description

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