Regular Expressions 101

Sponsors

Library entries

0
python

Phone number

Phone number
Submitted by anonymous - a month ago
0
pcre

Network Address

-
Submitted by anonymous - a month ago
0
python

分组引用

分组引用
Submitted by anonymous - a month ago
0
pcre

模式测试

测试贪婪/非贪婪模式
Submitted by anonymous - a month ago
0
pcre

Wrap word in json with quotes

Wrap word in json with quotes
Submitted by anonymous - a month ago
0
java

时间

时间
Submitted by 旧信 - a month ago

SC23

Vote

0

Regular Expression
pcre

/
^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
/
gm

Description

Loading markdown...
Submitted by 00 - 2 months ago