Regular Expressions 101

Sponsors

Library entries

0
pcre2

scss class matching

scss class matching
Submitted by lucas - 5 months ago
0
pcre2

Note Body HTML

Match all valid HTML tags
Submitted by anonymous - 5 months ago
0
pcre2

Barcode Regex

Barcode Regex
Submitted by anonymous - 5 months ago
0
pcre2

optional

optional
Submitted by anonymous - 5 months ago
0
pcre2

Split The Phone Numbers

Split The Phone Numbers
Submitted by anonymous - 5 months ago
0
pcre2

Ipv4 validation

regex for ip validation
Submitted by Amper - 5 months ago
0
pcre2

嵌入条件

嵌入条件
Submitted by anonymous - 5 months ago

HTML

Vote

0

Regular Expression
pcre2

/
(?(DEFINE) (?<void>br|img|area|base|col|command|embed|hr|input|keygen|link|meta|param|source|track|wbr|!DOCTYPE) (?<any>[^<>]*+) ) <div \s class="card"> (?P<pair> (?&any) (:? <(?P<v_tag>(?!\/)(?&void))(?&any)> (?:(?&pair) | (?&any))*+ (<\/(?P=v_tag)>)? | <(?P<tag>(?!\/)[^<> ]++)(?&any)> (?:(?&pair) | (?&any))*+ <\/(?P=tag)> ) (?&any) )* <\/div>
/
gmx

Description

Loading markdown...
Submitted by Yubo - 4 months ago