Regular Expressions 101

Sponsors

Library entries

0
pcre2

Semver regex

Example of regex for semver with pre-releases
Submitted by anonymous - 7 hours ago
0
pcre2

Números reales

Números reales
Submitted by Carlos Osmar - 17 hours ago
0
pcre2

Validación de fecha

Este código validará la fecha
Submitted by Carlos Osmar - a day ago
0
pcre2

Doble Espacio

Encuentra texto con toble espacio
Submitted by Carlos Osmar - a day ago
0
pcre

Negative search

Seach pattern that doesn't match
Submitted by Gael Langlais - 2 days ago
0
pcre2

Invoice nr

regexp search in mongo db by nr
Submitted by Tivadar - 2 days ago
0
pcre2

MySQL DATETIME

MySQL DATETIME
Submitted by anonymous - 3 days ago
0
pcre2

Split Http(s) Response

Split Http(s) Response
Submitted by anonymous - 5 days ago
0
pcre2

Vivaldi

Vivaldi
Submitted by anonymous - 5 days ago

Date YYYYMMDD

Vote

-2

Regular Expression
pcre

/
^((19\d{2})|(20\d{2}))(((02)(0[1-9]|[1-2][0-9]))|(((0(1|[3-9]))|(1[0-2]))(0[1-9]|[1-2][0-9]|30))|((01|03|05|07|08|10|12)(31)))$
/

Description

Loading markdown...
Submitted by Ahmed Z - 8 years ago