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

校验IP-v6地址

Vote

0

Regular Expression
javascript

/
(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))
/

Description

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