Regular Expressions 101

Sponsors

Library entries

0
pcre

dateformat classique fr

12/10/1991
Submitted by anonymous - a day ago
0
pcre

腾讯视频

从元素解析视频URL
Submitted by anonymous - a day ago
0
dotnet

No leading or trailing spaces

No leading or trailing spaces
Submitted by anonymous - 2 days ago
0
dotnet

Ipv4 with optional port

ipv4 with optional port
Submitted by anonymous - 2 days ago
0
pcre

match comments

/** comments */ // to the end /* comments */
Submitted by monk - 5 days ago
0
pcre

ASD

HI
Submitted by anonymous - 5 days ago
0
pcre

Token Delimiter

Token Delimiter
Submitted by anonymous - 9 days ago
0
java

lat cyr letters

only lat and cyr letters
Submitted by anonymous - 9 days ago
0
java

LinkedIn Profile Url

LinkedIn Profile Url
Submitted by Morons - 11 days ago
0
pcre

Thai car register

rule for thai registered car
Submitted by socool - 13 days ago
0
pcre

Thai credit card

rule for parse thai credit card
Submitted by socool - 13 days ago
0
pcre

Thai citizen

rule for parse thai citizen card
Submitted by socool - 13 days 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 - 9 years ago