Regular Expressions 101

Sponsors

Library entries

0
javascript

111

111
Submitted by Alex - 6 hours ago
0
pcre2

Password

Password includes a,A,1,!$#%
Submitted by anonymous - 2 days ago
0
pcre2

长宽高

长宽高
Submitted by mouxan - 2 days ago
0
pcre2

match extends in a class

to match extends in a class
Submitted by anonymous - 3 days ago
0
pcre2

implements Regex

To match implements in classes
Submitted by anonymous - 3 days ago
0
pcre2

AWS EC2 Hostname

Validates AWS EC2 Hostnames
Submitted by holy-moly-555 - 3 days ago
0
pcre2

Date dd.mm.yyyy

Regex for datestring validation
Submitted by anonymous - 3 days ago

灾难性回溯

Vote

0

Regular Expression
pcre2

/
^([hH][tT]{2}[pP]:\/\/|[hH][tT]{2}[pP][sS]:\/\/)(([A-Za-z0-9-~]+).)+([A-Za-z0-9-~\\\/])+$
/
gm

Description

Loading markdown...
Submitted by anonymous - a month ago