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,020 community submitted regex patterns...
1
Phone number
PCRE (PHP <7.3)
U.S. Phone number with optional area code.
Submitted by
anonymous
-
9 years ago
1
Word plus anyword
ECMAScript (JavaScript)
no description available
Submitted by
/ HJ
-
9 years ago
1
PHPunit AssertEquals from AssertTrue
PCRE (PHP <7.3)
Replaces all occurrences of AssertTrue(a == b); in a file with AssertEquals(a,b), which allows for more information in the test.
Submitted by
Chandler Swift
-
9 years ago
1
Combined Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
as
PCRE (PHP <7.3)
as
Submitted by
as
-
9 years ago
1
Botanical Sciences
PCRE (PHP <7.3)
Grupo Autores
Submitted by
anonymous
-
9 years ago
1
Strip i/b tags of attributes
PCRE (PHP <7.3)
no description available
Submitted by
Callum Barclay
-
9 years ago
1
second life
PCRE (PHP <7.3)
sim regex
Submitted by
tez
-
9 years ago
1
Ebay
PCRE (PHP <7.3)
no description available
Submitted by
Sasan
-
9 years ago
1
Match valid pairwise braces in text
PCRE (PHP <7.3)
The string '{}' is valid while '{{}' is invalid as well as '}{'. Now, is this one valid: '{{{{v{a{l{{i{d or }i}}}n}v}}al}i}d?' ?
Submitted by
nowox
-
9 years ago
1
LTI Course Mask RegEx
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Einzelne Zeichenkette ohne führenden Unterstich
PCRE (PHP <7.3)
no description available
Submitted by
Christoph Raschke
-
9 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Capture YouTube Video ID
PCRE (PHP <7.3)
get video id from any version of youtube url
Submitted by
Kevin Chappell
-
9 years ago
1
Variable instantiation
PCRE (PHP <7.3)
This matched any instantation of variable in some programming languages
Submitted by
ZKrolikowski
-
9 years ago
1
Bai 1
PCRE (PHP <7.3)
Chỉ lấy ký tự trong ngoặc vuông []
Submitted by
Hoang
-
9 years ago
1
Bai 2
PCRE (PHP <7.3)
Phát hiện link website lạ trong trang web của mình. – Đầu vào: https://ok1.url.com http://ok2.url.com https://not.ok.temp.com http://not-ok.either.w3.com...
Submitted by
Nhat Hoang
-
9 years ago
1
小數點前後數字數量
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
info@dein-perfekter-moment.de
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
match all non golang files
PCRE (PHP <7.3)
match all names except those with '.go' extension
Submitted by
Ashish Gaurav
-
9 years ago
1
...
98
99
100
101
102
...
901
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
%
(
{
)?
(?P<macro_name>
[
a
-
z_
]
[
a
-
z0
-
9_
]
*
)
(?(1)
}
)
/
gm
Open regex in editor
Description
conditional
Submitted by
anonymous
-
2 years ago