Regular Expressions 101

Community Patterns

3

Non vowel words

ECMAScript (JavaScript)
/\b(+)\b/ig
Submitted by regexe - 8 years ago
3

example

PCRE2 (PHP >=7.3)
example
Submitted by anonymous - 2 years ago

Match any layer bracket pair (.NET)

3

Regular Expression
.NET (C#)

@"
\w+\([^()]*(((?'parenthesesPair'\()[^()]*)+((?'-parenthesesPair'\))[^()]*)+)*(?(parenthesesPair)(?!))\)
"
gm

Description

Loading markdown...
Submitted by Yakumo Yukari - 2 years ago