Regular Expressions 101

Sponsors

Library entries

0
java

Remove duplicate lines in sorted text

See
Submitted by @atnbueno - 7 months ago
0
java

ISO 3166-1 alpha-3

ISO 3166-1 alpha-3 countries for validation
Submitted by anonymous - 6 months ago
0
java

Verificar caracter repetido

Verificar caracter repetido
Submitted by anonymous - 5 months ago
0
java

OS正则表达式

zzx
Submitted by zzx - 4 months ago
0
java

DB

DB
Submitted by DB - 4 months ago
0
java

括号匹配

(\[]\])|(【】)|(())|(\(\))
Submitted by nasion - 4 months ago
0
java

IP Address

IP Address RegEx
Submitted by anonymous - 4 months ago
0
java

#结尾的电话匹配

#结尾的电话匹配
Submitted by anonymous - 4 months ago
0
java

CDATA Matcher

Matches CDATA sections while disallowing nesting
Submitted by anonymous - 3 months ago
0
java

phone number matcher

phone number matcher
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 - 4 months ago