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
REGEX for url parameters
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
Validar teléfono móvil España
ECMAScript (JavaScript)
Validar teléfono móvil de España sin el prefijo +34
Submitted by
anonymous
-
5 years ago
1
CSS RGB Color
ECMAScript (JavaScript)
CSS RGB Color Regex for JS Supports RGB and RGBA syntax (identical in CSS Color Module Level 4) Well tested Allows for decimal values Currently does not support percentage values or CSS Color Module Level 4 white-space syntax
Submitted by
anonymous
-
5 years ago
1
CSS Hex Color
ECMAScript (JavaScript)
CSS Hex Color Regex for JS Supports alpha value (4 and 8 character hex codes) introduced in CSS Color Module Level 4 Well tested
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
-
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
...
236
237
238
239
240
...
902
Community Library Entry
2
Regular Expression
PCRE2 (PHP >=7.3)
/
(?P<host>
\d
{1,3}
.\d
{1,3}
.\d
{1,3}
.\d
{1,3}
)
(
\s
-
\s
)
(?P<user_name>
[
\w
-
]
*
)
(
\s
\[
)
(?P<time>
\w
*
\/
\w
*
\/
\d
{1,4}
:
\d
{1,2}
:
\d
{1,2}
:
\d
{1,2}
\s
-
\d
{1,4}
)
(
\]
\s
\"
)
(?P<request>
.
*
)
(
"
)
/
gm
Open regex in editor
Description
no description available
Submitted by
PepeRG
-
4 years ago