Regular Expressions 101

Sponsors

Library entries

-2
pcre

Match v4 IP address

no description available
Submitted by Budiony Damyanov - 9 years ago
-3
pcre

DateTime YYYY-MM-DD hh:mm:ss

no description available
Submitted by Madhan - 9 years ago
4
pcre

Hungarian ANDOK system id

no description available
Submitted by Tana - 9 years ago
6
pcre

ID003 device info

no description available
Submitted by sasjaq - 9 years ago
-2
pcre

[A-Z]+[a-z]{1,2}[0-9]*

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

A masz!

no description available
Submitted by Ja - 9 years ago
-2
pcre

failed attempt

no description available
Submitted by DynV - 9 years ago
1
pcre

Test Listing Parser

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

Ukazka

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

Task 2, part 1

Finds all source numbers in square brackets
Submitted by Kovalev Evgeny - 9 years ago
4
pcre

Task 1

Finds a happy smile, except sad one
Submitted by Kovalev Evgeny - 9 years ago
1
pcre

Task 1

no description available
Submitted by Kovalev Evgeny - 9 years ago
1
pcre

srt

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

example regex

no description available
Submitted by anonymous - 9 years ago
-9
pcre

test

no description available
Submitted by test - 9 years ago
1
pcre

match up to -

no description available
Submitted by anonymous - 9 years ago

PHP ReflectionParameter:__toString() parser

Vote

2

Regular Expression
pcre

/
^Parameter #\d+ \[ <(?:optional|required)> ([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*(?:\\[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)*)(?: or NULL)? \$[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*(?: = NULL)? \]$
/
gm

Description

Loading markdown...
Submitted by Erin Millard - 10 years ago