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,040 community submitted regex patterns...
1
css_dark
ECMAScript (JavaScript)
css样式排除github的一个正则表达式
Submitted by
amy
-
8 years ago
1
XML Double Tag
PCRE (PHP <7.3)
no description available
Submitted by
Donovan
-
8 years ago
1
Basic Achaea Full Prompt
PCRE (PHP <7.3)
matches a simple full prompt
Submitted by
anonymous
-
8 years ago
1
RipNameFromEmail
Python
handles quotes, non-quotes, angle bracket, parans, and trips extra white spaces
Submitted by
dano
-
8 years ago
1
rxPhones
PCRE (PHP <7.3)
rips all phones out of memo/text block stores by
Submitted by
dano
-
8 years ago
1
Facebook Regex
PCRE (PHP <7.3)
Facebok
Submitted by
anonymous
-
8 years ago
1
Template Parsing
PCRE (PHP <7.3)
matches everything enclosed by double curly brackets.
Submitted by
Luca Zampetti
-
8 years ago
1
renaming movies
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
|
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
uk phone numbers
PCRE (PHP <7.3)
uk phone numbers
Submitted by
p4lhip
-
8 years ago
1
~ m|\:\/\/([^\/ ]+)|
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
PTN Ply Matching
PCRE (PHP <7.3)
PTN (Portable Tak Notation) is a format to transport the history of a played game of Tak. The body of PTN files consists of ordered lines of moves, each consisting of one or two plies. This pattern parses PTN move lines and groups interesting information in useful groups.
Submitted by
TreffnonX (Janis Schöck)
-
8 years ago
1
fail2ban roundcube debian8 jessie /var/log/roundcube/errors
Python
no description available
Submitted by
Daniel Bañobre
-
8 years ago
1
For regex replace: Removes last part of directory/filename
PCRE (PHP <7.3)
For example: /foldera/folderb/filename.txt?value=abc Selects: /foldera/folderb
Submitted by
RAussi
-
8 years ago
1
Selects fist directory path
PCRE (PHP <7.3)
For example: /foldera/folderb/filename.txt Result: foldera
Submitted by
RAussi
-
8 years ago
1
Selects full path without filename or query parameter
PCRE (PHP <7.3)
For example: /foldera/folderb/filename.txt?query=abc Result: /foldera/folderb/
Submitted by
RAussi
-
8 years ago
1
small version of path select
PCRE (PHP <7.3)
Selects: /foldera/folderb/
Submitted by
RAussi
-
8 years ago
1
phone
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
capital of
Python
no description available
Submitted by
Shebin
-
8 years ago
1
MML
Python
no description available
Submitted by
Aron
-
8 years ago
1
...
753
754
755
756
757
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
@
<
[^
"
]
*
class="
[^
"
]
*
(?<=
"
|
\s
)
marginRight
(?=
"
|
\s
[^
"
]
*
)
"
[^
"
]
*
href="
(?<url>
(
[^
?
]
[^
\d
+
]
*
(?<number>
\d
+
)
)
[^
"
]
*
)
"
@
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
8 years ago