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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 6,000 community submitted regex patterns...
0
Pass/Fail
ECMAScript (JavaScript)
gaming pass fail shortcut
Submitted by
Steve Muchow
-
a year ago
(Last modified a year ago)
0
named query log parse
PCRE2 (PHP >=7.3)
It's a simple regexp for dns-query.log
Submitted by
anonymous
-
a year ago
0
HTML tag
PCRE2 (PHP >=7.3)
Regex pattern which matches HTML tag with its attributes.
Submitted by
Bobkorinek
-
a year ago
0
DSA
Java 8
dsa
Submitted by
DSA
-
a year ago
0
Delete empty lines
PCRE2 (PHP >=7.3)
Delete empty lines
Submitted by
anonymous
-
a year ago
0
YouTube extract videoId
PCRE2 (PHP >=7.3)
Extract Video ID from URL Youtube
Submitted by
anonymous
-
a year ago
0
Match gradle dependencies
Java 8
.
Submitted by
anonymous
-
a year ago
0
Match all of the words in arbitrary order
PCRE2 (PHP >=7.3)
Specify words that all have to be contained in a line; the order is arbitrary and there may be other words around them. This is most useful for searching identifiers in source code as normal word boundaries (space or punctuation) cannot be used in these cases. The example regular expression matches...
Submitted by
Sebastian Zander
-
a year ago
(Last modified a year ago)
0
Nigerian local phone number
PCRE2 (PHP >=7.3)
validate a Nigerian local phone number
Submitted by
anonymous
-
a year ago
0
Json formatter for text
PCRE2 (PHP >=7.3)
With the format: text+. Being + the end of each line, you can export a JSON formatted file with index field for you projects.
Submitted by
anonymous
-
a year ago
0
huji-oop-ex6
PCRE2 (PHP >=7.3)
regex for huji oop course ex6
Submitted by
anonymous
-
a year ago
0
Trying
PCRE2 (PHP >=7.3)
to search string in sip call log
Submitted by
Sachin
-
a year ago
0
OGSP-102503
PCRE2 (PHP >=7.3)
customer regex
Submitted by
anonymous
-
a year ago
0
VidID: YouTube
ECMAScript (JavaScript)
ID of YouTube video with provider flag
Submitted by
tomByrer
-
a year ago
(Last modified a year ago)
0
Odysee video URL
PCRE2 (PHP >=7.3)
Odysee is a free platform to watch LBRY videos. osChannel = Creator osVideo = individual movie
Submitted by
anonymous
-
a year ago
0
Anything after a question mark
PCRE2 (PHP >=7.3)
Captures anything after a question mark
Submitted by
Mohamed Heiba
-
a year ago
0
GEDCOM match level 1 XXXX tags and all subtags
PCRE2 (PHP >=7.3)
This will match level 2 OBJE tags and all subtags: \n2 OBJE.(\n[3-9].)* This will match level 3 OBJE tags and all subtags: \n3 OBJE.(\n[4-9].)* Source: https://www.webtrees.net/index.php/en/forum/help-for-release-2-1-x/37650-import-gedcom-without-obje#97068
Submitted by
anonymous
-
a year ago
0
(\d+(\.\d)?\,\d+(\.\d)?\|){0,2}(\d+(\.\d)?,\d+(\.\d)?)
ECMAScript (JavaScript)
(\d+(\.\d)?\,\d+(\.\d)?\|){0,2}(\d+(\.\d)?,\d+(\.\d)?)
Submitted by
anonymous
-
a year ago
0
placeables
ECMAScript (JavaScript)
placeables
Submitted by
anonymous
-
a year ago
0
Password validation
ECMAScript (JavaScript)
Regex used for password validation. A password match the following: At least 8 characters in length Minimum of 1 lower-case character Minimum of 1 upper-case character Minimum of 1 digit Minimum of 1 special character (non-whitespace)
Submitted by
Sjoerd de Vries
-
a year ago
1
...
173
174
175
176
177
...
300
Get HTML attribute
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
[
a
-
zA
-
Z
]
[
\w
\-
_.:
]
*
)
\s
*
=
\s
*
"
(
(
[^
\\
"
]
|
\\
"
|
\\
)*
)
"
/
gm
Open regex in editor
Description
Get HTML attribute with /" inside
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)