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
GET THE USERNAME OF THE EMAIL
PCRE (PHP <7.3)
Recovers the part before @ For example: teste@testregex.com The regex will catch teste
Submitted by
anonymous
-
6 years ago
1
matching-search-queries-at-end
Python
This regex will match search queries formatted in 3 specific patterns.
Submitted by
anonymous
-
6 years ago
1
IP regex
PCRE (PHP <7.3)
Match IP address that works fine on an acl rule for a Squid config file : acl aclname src ip-address/mask ... # clients IP address [fast] acl aclname src addr1-addr2/mask ... # range of addresses [fast] acl aclname dst [-n] ip-address/mask ... # URL host's IP address [slow] acl aclname localip ip-ad...
Submitted by
anonymous
-
6 years ago
1
Asterisk Channel
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
UNIMARC embedded to standard subfield
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
Replace quotas in ODI code excluding Beabshell substitutions
PCRE (PHP <7.3)
This example helps the ODI developer to generate code. If some parts of the dynamic code arrive in KM via Option, it is difficult to process it in Beanshell. And more so it is difficult if the code part contains Beanshell-substitution. This example shows how to replace e.g. quotes in the code and d...
Submitted by
Naeel Maqsudov
-
6 years ago
1
Expression
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
Verifica correttezza partita IVA europea
PCRE (PHP <7.3)
dal formato italiano 2 lettere + 11 cifre: IT01234567890
Submitted by
anonymous
-
6 years ago
1
Starbucks
ECMAScript (JavaScript)
no * before the name
Submitted by
anonymous
-
6 years ago
1
exp
PCRE (PHP <7.3)
exp
Submitted by
anonymous
-
6 years ago
1
Street number
PCRE (PHP <7.3)
Extract the street number and the remainder part from the address
Submitted by
anonymous
-
4 years ago
1
Сельскохозяйственные угодья
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
URL Validator
PCRE (PHP <7.3)
Finds valid URLs (they have to start with "https://")
Submitted by
chris mccoy
-
6 years ago
1
URL matching with HTTP(s) and IPv4 with Port
Python
no description available
Submitted by
anonymous
-
5 years ago
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
0
Egypt Phone Number Validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 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
...
281
282
283
284
285
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^.
*
(
(
youtu
.
be
\/
)
|
(
v
\/
)
|
(
\/
u
\/
\w
\/
)
|
(
embed
\/
)
|
(
watch
\?
)
)
\?
?
v
?
=
?
(
[^
#&?
]
*
)
.
*
/
Open regex in editor
Description
Youtube GET video_id (with unit tests - feel free to add more tests)
Submitted by
anonymous
-
5 years ago