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...
0
Match substring of two matches in either order
PCRE2 (PHP >=7.3)
When you have a block of text and you want to find the shortest substring with one of two matches on either end, in either order.
Submitted by
Chris Barth <chrisjbarth@hotmail.com>
-
2 years ago
0
匹配两个不连续的::
PCRE2 (PHP >=7.3)
van:not(:hover) var::before
Submitted by
artiely
-
2 years ago
0
Detect Initial and final symbol
PCRE2 (PHP >=7.3)
Detect Initial and final symbol
Submitted by
Neeraj Dhekale
-
2 years ago
(Last modified 2 years ago)
0
link_checks
Python
testing of link checking
Submitted by
anonymous
-
2 years ago
0
Remove HTML tags & attributes from text
ECMAScript (JavaScript)
Removes html tags (including attributes) from text
Submitted by
Stino
-
2 years ago
0
1 to 4095
PCRE2 (PHP >=7.3)
1 to 4095
Submitted by
anonymous
-
2 years ago
0
extract data syslog format
Python
Extract data of syslog.log format
Submitted by
anonymous
-
2 years ago
0
Remove Parentheses
ECMAScript (JavaScript)
Codewars kata 6 kyu , about Regular Expression JavaScript, help meeeh
Submitted by
anonymous
-
2 years ago
0
GitLab conventional commits
PCRE2 (PHP >=7.3)
conventional commits regex for gitlab
Submitted by
anonymous
-
2 years ago
0
UK Phone Number
ECMAScript (JavaScript)
Check for varied prefixes, followed by a suffix of exactly 9 digits
Submitted by
anonymous
-
2 years ago
0
Find an SVG constructed in javascript nuxt
ECMAScript (JavaScript)
Find an SVG constructed in javascript nuxt
Submitted by
Ray
-
2 years ago
0
Link Matcher v1
Java 8
The link matcher regex currently matches the most common types of links. *Removed other links
Submitted by
IkeVoodoo
-
2 years ago
(Last modified 2 years ago)
0
Desafio01
PCRE2 (PHP >=7.3)
Curso do Leitão
Submitted by
anonymous
-
2 years ago
0
datecheck
Python
expression pour checker les dates
Submitted by
anonymous
-
2 years ago
0
CPF
PCRE2 (PHP >=7.3)
Desafio - 2 curso Regex
Submitted by
anonymous
-
2 years ago
0
E-mail
PCRE2 (PHP >=7.3)
Curso Regex
Submitted by
anonymous
-
2 years ago
0
decamelize
PCRE (PHP <7.3)
pascal case to snake case
Submitted by
anonymous
-
2 years ago
0
Checks filename extension
PCRE2 (PHP >=7.3)
Used to validate the results obtained from path.extname()
Submitted by
dmtinkdev
-
2 years ago
0
Extract String Between Two Strings
PCRE2 (PHP >=7.3)
Objective - Extract the task id from logs Regex (?<=id=)(.*)(?=} Task)
Submitted by
anonymous
-
2 years ago
0
Extract String Between Two Strings - Named
PCRE2 (PHP >=7.3)
Extract String Between Two Strings - Named
Submitted by
anonymous
-
2 years ago
1
...
482
483
484
485
486
...
901
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(?x)
.
+
(?:
Sub
|
Function
)
\
(
\w
+
)
\(
#
method
declaration
(?:
#
start
of
parameter
pattern
[
\w\W
]
*
?
(?<=
\b
)
#
parameter
may
be
preceded
by
ByVal
or
Optional
keywords
(
[
a
-
z
]
\w
+
)+
#
parameter
starts
with
a
lower
case
.
*
?
#