Regular Expressions 101

Sponsors

Library entries

1
python

MySQLcase

make sure mysql tables have the correct form
Submitted by d - 7 years ago
1
pcre

parse discuz video codes

no description available
Submitted by Paul Wang - 7 years ago
1
pcre

SO Question

SO Question
Submitted by PaperBirdMaster - 7 years ago
1
pcre

remove link from discuz quoted message

no description available
Submitted by Paul Wang - 7 years ago
1
pcre

Phone Guatemala

Regex for phones in Guatemala
Submitted by Rodrigo Polo - 7 years ago
1
pcre

30164958

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

foreach

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

foreach

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

test

test
Submitted by boag - 7 years ago
0
pcre

URL to link

http://blog.jmsinfo.co/?d=2015/02/16/10/17/49
Submitted by Mickaël S. - 7 years ago
0
pcre

For justin

dis is why you match shit lots
Submitted by anonymous - 7 years ago
3
python

phone

matches: + example: +52 33 3884 7720 +1 770 343 5788
Submitted by miqui - 7 years ago

Parse an HL7 date, and capture the components

Vote

1

Regular Expression
pcre

/
^([0-9]{4})(?:([0-9]{2})(?:([0-9]{2})(?:([0-9]{2})(?:([0-9]{2})(?:([0-9]{2})(?:\.([0-9]{1,4}))?)?)?)?)?)?(?:([+-][0-9]{2})([0-9]{2})?)?$
/
x

Description

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