Regular Expressions 101

Sponsors

Library entries

0
java

CDATA Matcher

Matches CDATA sections while disallowing nesting
Submitted by anonymous - 9 days ago
0
java

#结尾的电话匹配

#结尾的电话匹配
Submitted by anonymous - a month ago
0
java

IP Address

IP Address RegEx
Submitted by anonymous - a month ago
0
java

括号匹配

(\[]\])|(【】)|(())|(\(\))
Submitted by nasion - a month ago
0
java

DB

DB
Submitted by DB - a month ago
0
java

OS正则表达式

zzx
Submitted by zzx - a month ago
0
java

Verificar caracter repetido

Verificar caracter repetido
Submitted by anonymous - 3 months ago
0
java

ISO 3166-1 alpha-3

ISO 3166-1 alpha-3 countries for validation
Submitted by anonymous - 4 months ago

GET formated URLs

Vote

1

Regular Expression
pcre

/
(?(DEFINE) (?<WebAddress> (?&Protocol){0,}(?&Host)(?:\:(?&Port)){0,1}(?&Path){0,1})(?=\s|$) (?<Protocol> \w{2,}\:\/\/) (?<Host> (?&NameParts)(?&Suffix)) (?<NameParts> (\w{2,}\.){1,}) (?<Suffix> (\w{2,})) (?<Port> (\d{1,5})) (?<Path> (\/\S{1,})) ) ((?&WebAddress))
/
xmg

Description

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