Regular Expressions 101

Sponsors

Library entries

1
java

sfdgvsdgdfg

dgfdgdf
Submitted by anonymous - 2 years ago
1
java

11

11
Submitted by 11 - a year ago
1
java

Rick Roll

Matches chorus of Never Going to Give You Up
Submitted by Stephen Battista - a year ago
1
java

phone number middle number parsing

middle number parsing regex
Submitted by anonymous - 4 months ago
2
dotnet

Replace sub-strings in string

Replace sub-strings in string
Submitted by anonymous - a month ago

笔试

Vote

0

Regular Expression
java

"
^([a-zA-Z0-9].+?)(\s+)((?:(?!0000)[0-9]{4}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1[0-9]|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)-02-29))(\s+)((0?9|1[0-9]|2[01]):00~(1[0-9]|2[0-2]):00)(\s+)([A-D])(\sC)
"

Description

Loading markdown...
Submitted by bgst009 - 2 years ago