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
Basic Email Regex
PCRE (PHP <7.3)
matches any letters or numbers '-' '_' '.' in prefix @ letters or numbers '-' in domain . 2 or 3 letters in suffix useful for getting emails from files that include emails
Submitted by
anonymous
-
5 years ago
1
Replace :parameters on route navigation
PCRE (PHP <7.3)
Lets modify a route dinamically from any word that starts with ':' until the next slash
Submitted by
anonymous
-
5 years ago
1
Python Float Verification
Python
no description available
Submitted by
anonymous
-
5 years ago
1
Apache: if a url comes with & but without a ? starting the query param, replace the first & with a ?
PCRE (PHP <7.3)
If you got a malformed URL with a query string not starting with a question mark, this Apache rule will catch it and make a redirection, replacing the first ampersand with the mandatory question mark for a query string. The negative lookahead will make sure that it don't replaces a well formed quer...
Submitted by
anonymous
-
5 years ago
1
date_regex
Python
YYYYMMDD YYYY-MM-DD YYYY.MM.DD YYYY/MM/DD YYYY-M-D YYYY.M.D...
Submitted by
anonymous
-
5 years ago
(Last modified a year ago)
1
E.164 Phone Number Validator
ECMAScript (JavaScript)
Regex validator for the phone number based on E.164 standard
Submitted by
anonymous
-
5 years ago
1
Semantic App Version (major.minor.patch) is greater than or equal to 6.1.3
PCRE (PHP <7.3)
This regular expression will match app versions following the Semantic Versioning scheme greater than or equal to 6.1.3 The first capturing group will match app versions 6.1.*, where the patch version is greater than or equal to 3. The second capturing group will match app versions. 6.., where the ...
Submitted by
anonymous
-
5 years ago
(Last modified a year ago)
1
NFL Fixtures for links
Python
no description available
Submitted by
anonymous
-
5 years ago
1
Surname regex validation
PCRE (PHP <7.3)
no description available
Submitted by
https://www.linkedin.com/in/peralta-steve-atileon/
-
5 years ago
1
C# class declaration
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
Matriculas [PT]
PCRE (PHP <7.3)
Código que permite identificar novas matrículas de Portugal, bem como as antigas e dividir por grupos
Submitted by
anonymous
-
5 years ago
1
Vérification d'une adresse IP
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
移除小程序云函数栈日志中的无效行
ECMAScript (JavaScript)
使其更已读
Submitted by
anonymous
-
5 years ago
1
look ahead and look behind
ECMAScript (JavaScript)
find number in string with look behind and look ahead
Submitted by
anonymous
-
5 years ago
1
Python:Match paragraphs separated by URL
Python
no description available
Submitted by
anonymous
-
5 years ago
1
Modern Chrome User Agent
PCRE (PHP <7.3)
Detects modern Chromium-based browsers Chrome >= 67 YaBrowser >= 18.7 Opera >= 54 Samsung Internet >= 9.2...
Submitted by
slavafomin
-
5 years ago
1
Modern Firefox User Agent
PCRE (PHP <7.3)
Detects modern Firefox browser versions Firefox >= 60 These versions require only ~29.33 KB of core-js polyfills.
Submitted by
slavafomin
-
5 years ago
1
Modern Safari versions User Agent
PCRE (PHP <7.3)
Detects modern Safari versions by User Agent string Safari & iOS Safari >= 10 These browsers require ~62 KB of core-js polyfills.
Submitted by
slavafomin
-
5 years ago
1
22 Jimmy
PCRE (PHP <7.3)
.+\.{a-z}+$ / .+\.{a-z}+$...
Submitted by
anonymous
-
5 years ago
1
Replace many spaces to one
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
...
282
283
284
285
286
...
902
Community Library Entry
0
Regular Expression
Python
r"
(
TRACE
(
\s
*
)
\(
\S
+
\s
*
[
,
]
(
\s
*
\S
+
\s
*
)
[
,
\n
]
(
\s
*
\S
+
\s
*
)
[
,
]
(
\s
*
)
)
(
[^
\"
]
)
"
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago