Regular Expressions 101

Sponsors

Library entries

0
java

Fund - Arriving in Kathmandu

Simple regex for Softuni
Submitted by anonymous - a year ago
0
java

笔试

笔试字符串检查regex
Submitted by bgst009 - a year ago
0
java

Alien Registration Number

Alien Registration Number
Submitted by anonymous - a year ago
0
java

OmegaT exercises

OmegaT exercises
Submitted by msoutopico - a year ago
0
java

Email Regex

Regex to capture email from Text
Submitted by Suman Maharjan - a year ago
0
java

my regex

test
Submitted by anonymous - a year ago
0
java

Kotlin FTP Proto Check

ftpProtoCheck
Submitted by anonymous - a year ago
0
java

Password in java

password in java
Submitted by anonymous - a year 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 - 4 months ago