Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,000 community submitted regex patterns...
1
test
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
1
PCRE (PHP <7.3)
23123
Submitted by
anonymous
-
10 years ago
1
test url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
YOLO
PCRE (PHP <7.3)
Substitutes "you only live once" with "YOLO".
Submitted by
anonymous
-
10 years ago
1
Number invalidator
PCRE (PHP <7.3)
Including +/-12.3. etc. Excluding MH12, etc.
Submitted by
HMK
-
10 years ago
1
number validator
PCRE (PHP <7.3)
exclude data with space and "-"
Submitted by
HMK
-
10 years ago
1
Match Markup
PCRE (PHP <7.3)
no description available
Submitted by
A
-
10 years ago
1
auie
Python
auie
Submitted by
auie
-
10 years ago
1
foobar
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Escape non-Ascii Character
PCRE (PHP <7.3)
Replace non-ascii characters with empty spaces.
Submitted by
Huchister
-
10 years ago
1
Demo
ECMAScript (JavaScript)
no description available
Submitted by
Tensibai
-
10 years ago
1
Matching url
Python
no description available
Submitted by
anonymous
-
10 years ago
1
Recursive search
PCRE (PHP <7.3)
Proof of concept to omit restriction with '' http://stackoverflow.com/questions/15584634/about-php-regexp-for-recursive-pattern?answertab=oldest#tab-top http://stackoverflow.com/questions/25408579/regex-to-match-blocks-inside-blocks
Submitted by
themroc
-
10 years ago
1
Recursive search
PCRE (PHP <7.3)
Proof of concept to omit restriction with '' http://stackoverflow.com/questions/15584634/about-php-regexp-for-recursive-pattern?answertab=oldest#tab-top http://stackoverflow.com/questions/25408579/regex-to-match-blocks-inside-blocks
Submitted by
themroc
-
10 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
Honza BÅ™eÄka
-
10 years ago
1
Test prioritized match
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
sushiroles
PCRE (PHP <7.3)
some sushi role
Submitted by
anonymous
-
10 years ago
1
Extracting Numbers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
test
ECMAScript (JavaScript)
test
Submitted by
test
-
10 years ago
1
...
69
70
71
72
73
...
900
Community Library Entry
3
Regular Expression
.NET 7.0 (C#)
@"
\w
+
\(
[^
()
]
*
(
(
(?'parenthesesPair'
\(
)
[^
()
]
*
)+
(
(?'-parenthesesPair'
\)
)
[^
()
]
*
)+
)*
(?(parenthesesPair)
(?!
)
)
\)
"
gm
Open regex in editor
Description
Match any layer bracket pair
Submitted by
Yakumo Yukari
-
3 years ago