Regular Expressions 101

Sponsors

Library entries

0
pcre2

Env Var

Regex to match Env Variable whole line
Submitted by anonymous - 6 months ago
0
pcre2

IP address with port

Match ip address with port
Submitted by PARNKOT - 6 months ago
0
pcre2

Get HTML attribute

Get HTML attribute with /" inside
Submitted by anonymous - 6 months ago
0
pcre2

股票代码

aa
Submitted by vv - 6 months ago
0
pcre2

ipv4 match

ipv4 match
Submitted by anonymous - 6 months ago
0
pcre2

scss class matching

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

Note Body HTML

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

Barcode Regex

Barcode Regex
Submitted by anonymous - 6 months ago

PHP quoted string constants parse

Vote

0

Regular Expression
pcre2

/
const\s+(?<c>[a-z][a-z\d_]*)\s*=\s*(?<q>["'])(?<v>(?:\\\k<q>|(?!\k<q>).)*)(?:\k<q>)\s*;
/
gi

Description

Loading markdown...
Submitted by Slava Krampetz - 5 months ago