Regular Expressions 101

Community Patterns

1

Desc

PCRE (PHP <7.3)
match /* @Desc("(.)");
Submitted by anonymous - 8 years ago
1

02

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 8 years ago
1

a

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 8 years ago
1

hurdur

Python
hurdurdurdru
Submitted by hordor - 8 years ago
1

Address Match

Python
no description available
Submitted by Awk - 8 years ago
1

us date format

PCRE (PHP <7.3)
us date format
Submitted by denis - 8 years ago
1

Test

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

match commas between sets or members, but not inside members.

-2

Regular Expression
Python

r"
,(?![^\[\]]*(?:\([^[]]]*\])?\])|,(?![^\{\}]*(?:\([^\{\}]]*\})?\})|\{|\}
"
g

Description

Loading markdown...
Submitted by Amrit Kohli - 8 years ago