Regular Expressions 101

Sponsors

Library entries

1
javascript

HTML注释

HTML注释
Submitted by anonymous - 6 months ago
1
javascript

phone regex

phone regex
Submitted by antiai - 5 months ago
1
javascript

提取步骤1

提取步骤1
Submitted by liangchao - 5 months ago
1
javascript

array path

Extract the array path from a nested path
Submitted by anonymous - 5 months ago
1
pcre

Polynom

Regex to get polynomial coefficients
Submitted by Balandin Igor - 4 months 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