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...
0
Match Article No., Alinea No. and statute in ATF citations
Python
no description available
Submitted by
anonymous
-
6 years ago
0
Sharps containers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Rosti upgrade with +
PCRE (PHP <7.3)
Fix of lot being smaller when 6 chars
Submitted by
anonymous
-
6 years ago
0
Obtener tipo y variable para typescript
PCRE (PHP <7.3)
Con las expressioón regular puedo utilizar los reemplazos (VSCODE )para a partir de una interfaz construir un modelo de backbone con get y set public set $1(value) { this.set('$1', value); } public get $1()$2 { return this.get('$1'); }
Submitted by
anonymous
-
6 years ago
0
Extract domain from url
PCRE (PHP <7.3)
From native squid logs, I retrieve url with http* or not. I use the regex to extract the top domain from the url and store it into a variable
Submitted by
anonymous
-
6 years ago
0
Email address
PCRE (PHP <7.3)
Matches an email address in a string.
Submitted by
anonymous
-
6 years ago
0
SEDCO possible example
PCRE (PHP <7.3)
An example of how to capture and chunk out a random string which includes the pager address and text to send, (with spaces)
Submitted by
anonymous
-
6 years ago
0
Colar barcodes (special case)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Embedly Providers
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
4 tokens barcode (01item17expiry11manufacturing10lot)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
amazon_api_asin_bysku
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
amazon_api_preview_shipping
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Emoji escaper
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
URL
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
xml tag parser
PCRE (PHP <7.3)
almost there
Submitted by
anonymous
-
6 years ago
0
coordinates extraction 1
PCRE (PHP <7.3)
Extract coordinates from tex
Submitted by
anonymous
-
6 years ago
0
HeatingManager - Identify Hours
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
cdnnode access
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
espacios antes
Golang
no description available
Submitted by
anonymous
-
6 years ago
0
cdnnode access.log
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
...
466
467
468
469
470
...
902
Community Library Entry
40
Regular Expression
PCRE (PHP <7.3)
/
(
(
(
[
A
-
Za
-
z
]
{3,9}
:
(?:
\/\/
)?
)
(?:
[
-;:&=
\+\$
,
\w
]
+
@
)?
[
A
-
Za
-
z0
-
9.-
]
+
|
(?:
www
.
|
[
-;:&=
\+\$
,
\w
]
+
@
)
[
A
-
Za
-
z0
-
9.-
]
+
)
(
(?:
\/
[
\+
~%
\/
.
\w
-_
]
*
)?
\?
?
(?:
[
-
\+
=&;%@.
\w
_
]
*
)
#
?
(?:
[
.
\!\/\\
w
]
*
)
)?
)
/
ig
Open regex in editor
Description
A quite neat regular expression for URLs, e-mails..., I found on Matthew O'Riordan's blog.
Submitted by
Matthew O'Riordan
-
12 years ago