Regular Expressions 101

Sponsors

Library entries

-2
pcre

Get HTML DIV content

Get the content of a DIV HTML Tag.
Submitted by Ivan Milazzotti - 7 years ago
1
pcre

Israel phone number

Valiate israel phone number
Submitted by boevik - 7 years ago
0
pcre

Select Topmost HTML Tags

no description available
Submitted by Guilherme C. Souza - 7 years ago
1
pcre

Teste

teste
Submitted by MeuChapeu - 7 years ago
1
pcre

Get id number from url

no description available
Submitted by Marek Ulwański - 7 years ago
0
pcre

Match PHP define

Matches PHP define("CONSTANT", "VALUE)
Submitted by xZero - 7 years ago
1
pcre

Access Log

cisco
Submitted by anonymous - 7 years ago
0
pcre

Find li tag with "word"

Find li tag with "word"
Submitted by Sazar - 7 years ago
0
pcre

Phone numbers

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

CVE descriptors

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

vIESTATE

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

prevent-sanitzation

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

spot2-test

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

pERMUTACION 1

no description available
Submitted by anonymous - 7 years ago

PHP DateInterval Specification Validator

Vote

1

Regular Expression
pcre

/
^P((((([0-9]+Y([0-9]+M)?([0-9]+[DW])?)|([0-9]+M([0-9]+[DW])?)|([0-9]+[DW]))(T(([0-9]+H([0-9]+M)?([0-9]+S)?)|([0-9]+M([0-9]+S)?)|([0-9]+S)))?|(T(([0-9]+H([0-9]+M)?([0-9]+S)?)|([0-9]+M([0-9]+S)?)|([0-9]+S)))))|(([0-9]{4}-(0[0-9]|1[0-2])-([0-2][0-9]|3[0-1]))T(([0-1][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9])))$
/
mg

Description

Loading markdown...
Submitted by Tim Visée, http://timvisee.com/ - 7 years ago