Regular Expressions 101

Sponsors

Library entries

1
python

link findall

Submitted by Kerem Göksu - a year ago
1
python

Don't match numbers longer than 5 length

using ^ and $
Submitted by anonymous - a year ago
1
python

ss001

Rep
Submitted by anonymous - a year ago
1
java

11

11
Submitted by 11 - a year ago
1
python

Remove HTML tags and comments

Remove HTML tags and comments
Submitted by Smit Patel - a year ago
1
pcre

Screencast.com video url regex

Screencast.com video url regex
Submitted by anonymous - 10 months ago
1
python

Parse Data Fields

Parsing example
Submitted by anonymous - 8 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 - 6 months ago