Regular Expressions 101

Sponsors

Library entries

0
javascript

does this work dms?

no description available
Submitted by anonymous - 8 years ago
2
python

Find any digits in string

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

Inverse Match

inverse match letters, numbers, and underscores
Submitted by anonymous - 8 years ago
1
javascript

Get the extension of file

Get the extension of file
Submitted by Taffarel Xavier - 8 years ago
1
javascript

Get extension of an file

Get extension of an file.
Submitted by Taffarel Xavier - 8 years ago
0
javascript

Ultimate url regex

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

REGEX

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

test tags Libellex

no description available
Submitted by AROC - 8 years ago
0
python

Negative lookbehind

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