Regular Expressions 101

Sponsors

Library entries

0
pcre

腾讯视频

从元素解析视频URL
Submitted by anonymous - 2 months ago
0
pcre

dateformat classique fr

12/10/1991
Submitted by anonymous - 2 months ago
0
pcre

Wrap word in json with quotes

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

模式测试

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

Network Address

-
Submitted by anonymous - a month ago
0
javascript

Xerox Product Page

regex to match a product page url
Submitted by anonymous - a month ago

ip4/ip6 capture

Vote

-1

Regular Expression
pcre

/
((?'ip4'(\d{1,3}\.){3}\d{1,3})|(?'ip6'(([0-9a-f]{1,4})?:){7}([0-9a-f]{4})?))
/
gm

Description

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