Regular Expressions 101

Sponsors

Library entries

0
golang

匹配邮箱

[A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+) `
Submitted by Lintao - a month ago
0
pcre

find between

find between
Submitted by anonymous - a month ago
0
java

CDATA Matcher

Matches CDATA sections while disallowing nesting
Submitted by anonymous - a month ago
0
pcre

Time in hh:mm:ss

19h32min16s
Submitted by anonymous - 2 months ago
0
golang

Golang Docker matcher

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

lower case alpha and number

lower case alpha and number
Submitted by anonymous - 2 months ago
0
java

#结尾的电话匹配

#结尾的电话匹配
Submitted by anonymous - 2 months ago
0
golang

Jira issue number

Matches and catches Jira issue number
Submitted by anonymous - 2 months ago
0
java

IP Address

IP Address RegEx
Submitted by anonymous - 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