Regular Expressions 101

Sponsors

Library entries

0
pcre2

Match CamelCase

Matches PascalCase or CamelCase
Submitted by anonymous - 4 hours ago
0
pcre2

nr_classe

separação de um código numérico simples
Submitted by anonymous - 14 hours ago
0
python

month with year extraction

ready code
Submitted by anonymous - 19 hours ago
0
pcre2

General regular expressions

General
Submitted by Stavros - 19 hours ago
0
pcre2

Database_Data_Type

DatabaseDataType
Submitted by anonymous - 21 hours ago
1
pcre

Italian phone number regex

Italian phone number reg
Submitted by Ali Babayev - a day ago
0
pcre2

PCRE2 ipv6

Some cases of ipv6 at string begin
Submitted by anonymous - 2 days ago
0
pcre2

LinkedIn School Username

x
Submitted by anonymous - 2 days ago
0
python

Yandex music track regex

Regex for yandex music track
Submitted by anonymous - 2 days ago
0
pcre2

提取src

提取src
Submitted by anonymous - 2 days ago
0
java

Hitech RTOZONE

Checks the registration number's validity
Submitted by Sid - 3 days ago
0
python

Find two matching group

Find two matching groups
Submitted by anonymous - 3 days ago

LMC date match

Vote

1

Regular Expression
javascript

/
^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24\:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)))$
/

Description

Loading markdown...
Submitted by David Zurcher - 7 years ago