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
IPv4&IPv6 URL validation regular expression
PCRE (PHP <7.3)
no description available
Submitted by
Henry Li
-
11 years ago
0
Failing regex which works in Perl
PCRE (PHP <7.3)
Goal is match example lines which are not comments.
Submitted by
anonymous
-
11 years ago
2
Palabras en mayúscula que no están después de un punto
Python
no description available
Submitted by
anonymous
-
11 years ago
1
12345
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
-2
Why doesn't it stop at the period?
PCRE (PHP <7.3)
try to match just the name from this: Copyright © 2005 Candy Arrington. Used by permission. All rights reserved.
Submitted by
anonymous
-
11 years ago
0
SFTP with username and optional port & password
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
Regex: Parse LinkHeader ('Link' header)
PCRE (PHP <7.3)
A regular expression to parse a HTML 'Link' header.
Submitted by
James Furey
-
11 years ago
-2
Select ID from regex101 URL
ECMAScript (JavaScript)
no description available
Submitted by
Vinay
-
11 years ago
1
Select inside <a> tag
ECMAScript (JavaScript)
no description available
Submitted by
Vinay
-
11 years ago
72
Regex for telephone numbers all over the world
Recommended
ECMAScript (JavaScript)
Detects most of the phone numbers all over the world
Submitted by
Aditya Joshi
-
11 years ago
(Last modified a year ago)
1
CEF Pipe and Space Delimited Data
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
0
salanki
PCRE (PHP <7.3)
no description available
Submitted by
salanki
-
11 years ago
0
Markdown Inline Link to HTML Anchor
PCRE (PHP <7.3)
Extracts title and link from Markdown inline link to be placed into an HTML anchor tag.
Submitted by
Mike Johnson
-
11 years ago
1
HTML Anchor to Markdown Inline Link
PCRE (PHP <7.3)
Extracts the href and title values from an anchor tag to be placed into an inline Markdown link.
Submitted by
Mike Johnson
-
11 years ago
1
gh
ECMAScript (JavaScript)
no description available
Submitted by
ghb
-
11 years ago
1
IPv4 extraction
Python
no description available
Submitted by
Jacob
-
11 years ago
2
@import url(comments.css)
PCRE (PHP <7.3)
no description available
Submitted by
Mitus M.
-
11 years ago
1
Check fr date format
PCRE (PHP <7.3)
no description available
Submitted by
Kerosene
-
11 years ago
1
myregex
PCRE (PHP <7.3)
no description available
Submitted by
shakti
-
11 years ago
1
select stuff of </a> [beta]
PCRE (PHP <7.3)
no description available
Submitted by
Kerosene
-
11 years ago
1
...
891
892
893
894
895
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
foreach
\(
(?<loop>
[
a
-
zA
-
Z0
-
9-.
_
\(\)
]
+
)
\n
{
(?<code1>
[
a
-
zA
-
Z0
-
9-.
_
\;
\n
(
\)
{}
]
+
)
await
(?<code2>
[
a
-
zA
-
Z0
-
9-.
_
\;
\n
(
\)
{}
]
+
)
}
/
gm
Open regex in editor
Description
async calls in foreach loop, search by await keyword found in foreach
Submitted by
mmateeva
-
2 years ago