Regular Expressions 101

Community Patterns

0

Primeiro exemplo

PCRE2 (PHP >=7.3)
oi
Submitted by eu - 2 years ago
0

hk_ec_lanecrawford

PCRE2 (PHP >=7.3)
Submitted by Alex - 2 years ago
0

address

PCRE (PHP <7.3)
not sure
Submitted by anonymous - 2 years ago
0

IPv6

PCRE2 (PHP >=7.3)
small ipv6 regex
Submitted by anonymous - 2 years ago

relative to absolute

5

Regular Expression
PCRE (PHP <7.3)

/
^(.*)((<img|<script|<link)(.*) (src|href))\=(\"|')(?!cdn|https|https|\/\/)(\/)?(<\/script>|\>)?(.*)$
/
m

Description

Loading markdown...
Submitted by xp_prg - 9 years ago