Regular Expressions 101

Sponsors

Library entries

0
python

Url handling

Simple regex to split url
Submitted by Hangfish - a month ago
0
java

CDATA Matcher

Matches CDATA sections while disallowing nesting
Submitted by anonymous - 2 months ago
0
python

Postcode (UK)

Detects UK postcodes (minimal edge cases)
Submitted by anonymous - 2 months ago
0
python

Credit Note

Detects specific word in a sentence
Submitted by anonymous - 2 months ago
0
python

dice thing

Stuff for a dnd thing
Submitted by Cata - 2 months ago
0
python

完形填空

完形填空
Submitted by anonymous - 2 months ago
0
python

恩更

非法发
Submitted by anonymous - 2 months ago
0
python

CPF|CNPJ

Match Brazilian documents
Submitted by Bacco - 2 months ago
0
python

SUBTOTAL

SUBTOTAL 15.88
Submitted by KRISHNA - 2 months ago
0
python

DEPIT INFO

K
Submitted by K - 2 months ago
0
python

Regex

wifiwnsml
Submitted by krishabj - 2 months ago
0
golang

Golang Docker matcher

Used by me for docker-retagger
Submitted by Roman Minebaev - 2 months ago

Regular expression for capturing dates and date ranges.

Vote

1

Regular Expression
java

"
((?:\d{1,2}-)?\d{1,2})(?:st|nd|rd|th)?[ ./-](feb|\d{1,2})(?:[ ./-](\d{2,4}))?|(feb|\d{1,2})[ ./-]((?:\d{1,2}-)?\d{1,2})(?:st|nd|rd|th)?(?:[ ./-](\d{2,4}))?
"
igm

Description

Loading markdown...
Submitted by Matey Krastev - 3 months ago