Regular Expressions 101

Sponsors

Library entries

1
pcre

my first regex

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

DDmmyyyy

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

Find all ASINs in a text

ASIN = Amazon Standard Identification Number
Submitted by NN - 6 years ago
1
pcre

;'

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

Date of Birth

no description available
Submitted by Marcos André - 6 years ago
1
pcre

link

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

LiveRes

Postcode Validation
Submitted by Dan Manning - 6 years ago
1
pcre

Poedit Translation

no description available
Submitted by anonymous - 6 years ago

PHP function tester

Vote

1

Regular Expression
pcre

/
^(( * * *(public|private|protected) +function)|( * * *function)) +[a-zA-Z_][a-zA-Z0-9_-]* *(\(( *(([a-zA-Z_][a-zA-Z0-9_-]* +)?(\.\.\.)?\$[a-zA-Z_][a-zA-Z0-9_-]*( *= *[^\),]+(\([^\)]*\))?)?)( *, *([a-zA-Z_][a-zA-Z0-9_-]* +)?(\.\.\.)?\$[a-zA-Z_][a-zA-Z0-9_-]*( *= *[^\),]+(\([^\)]*\))?)?)*)? *\) *(: *[a-zA-Z_][a-zA-Z0-9_-]*)?)$
/

Description

Loading markdown...
Submitted by Smiley32 - 6 years ago