Regular Expressions 101

Community Patterns

0

phone number matcher

Java 8
phone number matcher
Submitted by anonymous - 2 years ago
0

LinkedIn Profile Url

Java 8
LinkedIn Profile Url
Submitted by Morons - 2 years ago
0

lat cyr letters

Java 8
only lat and cyr letters
Submitted by anonymous - 2 years ago
0

时间

Java 8
时间
Submitted by 旧信 - 2 years ago

Regular expression for capturing dates and date ranges.

1

Regular Expression
Java 8

"
((?:\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 - 2 years ago