Regular Expressions 101

Community Patterns

0

test1

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 4 years ago
0

test1

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 4 years ago
0

Address

Golang
for the demo 2019/09/27
Submitted by anonymous - 4 years ago

Meta-Tag

0

Regular Expression
PCRE (PHP <7.3)

~
<\s*meta\s # using lookahead to capture type to $1 (?=[^>]*? \b(?:name|property|http-equiv)\s*=\s* (?|"\s*([^"]*?)\s*"|'\s*([^']*?)\s*'| ([^"'>]*?)(?=\s*/?\s*>|\s\w+\s*=)) ) # capture the content to $2 [^>]*?\bcontent\s*=\s* (?|"\s*([^"]*?)\s*"|'\s*([^']*?)\s*'| ([^"'>]*?)(?=\s*/?\s*>|\s\w+\s*=)) [^>]*>
~
gix

Description

Loading markdown...
Submitted by anonymous - 4 years ago