Regular Expressions 101

Sponsors

Library entries

0
javascript

test

no description available
Submitted by anonymous - 4 years ago
0
javascript

HA template search

Searches for the template setting.
Submitted by anonymous - 4 years ago
0
javascript

start and end with same vowel

no description available
Submitted by anonymous - 4 years ago
0
javascript

金额校验

11位正整数,两位小数
Submitted by anonymous - 4 years ago
0
javascript

中文校验

no description available
Submitted by anonymous - 4 years ago
0
javascript

正整数

no description available
Submitted by anonymous - 4 years ago
0
javascript

保留小数点后两位

no description available
Submitted by anonymous - 4 years ago
0
javascript

2

no description available
Submitted by anonymous - 4 years ago
0
javascript

3

no description available
Submitted by anonymous - 4 years ago
0
javascript

4

no description available
Submitted by anonymous - 4 years ago
0
javascript

Dimension

(\d?\d?\d{1}\d{1})|(^[5-9])
Submitted by anonymous - 4 years ago

校验日期

Vote

0

Regular Expression
javascript

/
^(?:(?!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)$
/

Description

Loading markdown...
Submitted by anonymous - 6 years ago