Regular Expressions 101

Sponsors

Library entries

1
javascript

CPF

Validador de CPF
Submitted by Gustavo Américo - 7 years ago
1
pcre

Encontrar espaço em branco duplicado

White space
Submitted by Gustavo Américo - 7 years ago
1
pcre

Single-line comment extraction

no description available
Submitted by Jeff Hansen - 7 years ago
1
pcre

EIS Chef Runlist Regex

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

Match words in a string

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

UK TEL

UK Telephone Number REGEX no () and no spaces
Submitted by \JOLLY - 7 years ago
0
python

teste

tes
Submitted by tes - 7 years ago
1
javascript

ie 11 check

checks for ie 11 user agent
Submitted by Yamakichi - 7 years ago
-2
pcre

Parse all adresses in href

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

4shared

www.4shared.com
Submitted by guru - 7 years ago

Gentoo atom parsing

Vote

2

Regular Expression
pcre

/
^(?'prefix'(?:[<>]=?|=)|~|!!?|\+)?(?'base'(?'category'[A-Za-z\d\-]+)\/(?'packagename'[A-Za-z][\w\-\+]*?))(?:-(?'version'\d[\w\.]*\*?)(?:-r(?'revision'[\d\.]+))?)?(?:\:(?'slot'[\d\.]*\=?|\*)(?:\/(?'subslot'[\d\.]+\=?))?)?(?: +(?'useflags'[\w\s\-]+))? *$
/
gm

Description

Loading markdown...
Submitted by selurvedu - 7 years ago