Regular Expressions 101

Sponsors

Library entries

1
pcre

aaa

vvv
Submitted by anonymous - 8 years ago
1
pcre

overlapping regex, small test

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

test

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

test

test
Submitted by anonymous - 8 years ago
0
pcre

Match youtube id

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

Get Itunes ID

Get itunes id from url
Submitted by sendypw - 8 years ago
-2
python

python bracketed text

why doesn't this match text in brackets?
Submitted by anonymous - 8 years ago
1
pcre

Email validation

because everything else is too strict
Submitted by anonymous - 8 years ago
1
pcre

rvewr

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

match any email address in list

no description available
Submitted by cloneman - 8 years ago
2
javascript

html font to bbcode

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

Match mydomain*.mydomain.com

no description available
Submitted by Trappist - 8 years ago
1
javascript

big apple is fool

no description available
Submitted by litianzhao - 8 years ago
1
pcre

Ja som's regex

no description available
Submitted by anonymous - 8 years ago

rfc5646 simple

Vote

1

Regular Expression
javascript

/
^(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))(-(0-9A-WY-Za-wy-z+))(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)|((en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)|(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang)))$
/

Description

Loading markdown...
Submitted by anonymous - 8 years ago