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 13,980 community submitted regex patterns...
1
Test e-mail format string
Python
Regexp based on https://en.wikipedia.org/wiki/Email_address criteria.
Submitted by
anonymous
-
5 years ago
1
REGEX for url parameters
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
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
-
4 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
Extract fields from repository url
Python
It is used to extract fields from the repository URL Works in Python and JS Group1 : protocol (Such as http or https) Group2 : domain (Such as github.com or gitlab.com) Group3: Name space (Such as your personal namespace or project namespace) Group4: Project name (Such as your project name)...
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
-
4 years ago
(Last modified 6 months 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
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
...
598
599
600
601
602
...
699
MR Title validation
0
Regular Expression
Python
r"
^
SW
(
TS
|
L
|
M
)
-
(
\d
+
)
(
[
:,
]
)
(
[
wW
]
[
iI
]
[
pP
]
)?
(?(4)
[
\w
]
{3,}
|
(?!
(
[
wW
]
[
iI
]
[
pP
]
)
)
[
\w
]
{3,}
)
.
*
$
"
gm
Open regex in editor
Description
Submitted by
alkov
-
3 years ago