Regular Expressions 101

Sponsors

Library entries

1
java

Match all numbers

Match all numbers from a string.
Submitted by VS - 2 years ago
1
java

Sınıfları Tek Tek seçme

za
Submitted by anonymous - 2 years ago
1
java

css attribute validation

css attribute validation
Submitted by arnab - a year ago
1
java

标点

匹配大部分标点
Submitted by anonymous - a year ago
1
java

sfdgvsdgdfg

dgfdgdf
Submitted by anonymous - a year 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 - 10 months ago

yyyy/mm/dd

Vote

1

Regular Expression
java

"
^(((\d{3}[1-9]|\d{2}[1-9]\d|\d[1-9]\d{2}|[1-9]\d{3})(\/)(((0[13578]|1[02])(\/)(0[1-9]|[12]\d|3[01]))|((0[469]|11)(\/)(0[1-9]|[12]\d|30))|(02(\/)(0[1-9]|[1]\d|2[0-8]))))|(((\d{2})(0[48]|[2468][048]|[13579][26])|((0[48]|[2468][048]|[3579][26])00))(\/)02(\/)29))$
"
gm

Description

Loading markdown...
Submitted by mayl0421 - a year ago