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
Traefik stripprefixregex for web apps
Golang
Notes: Do not forget to escape the $ by an additional $. Escaping ? like \? does not work. But you could use [?] instead End result should be like this: "traefik.http.middlewares.r6tt-dev-web.stripprefixregex.regex=^/[a-z0-9/]+[a-z0-9]+([?]+.*)?$$"...
Submitted by
anonymous
-
4 years ago
1
Last Occurrence of comma(,) in a string
ECMAScript (JavaScript)
Used this to dynamically create placeholder text when a user changed the coordinates format from default to custom. ex ['DD', 'DDM', 'DMS'] to remove the comma from the string. The format comes from an array of strings so I had to do a join(', ').replace(/\,(?=*$)/g, ' or') to get DD, DDM or DMS
Submitted by
anonymous
-
5 years ago
1
map json
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
1
part 1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
day date time
Python
no description available
Submitted by
anonymous
-
5 years ago
1
each section searched with line breaks still in 2.0 - gets entire section from From
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
email capturing
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
Role regex liferay-developer
PCRE (PHP <7.3)
Regex to liferay proyect for Role -> Developer
Submitted by
anonymous
-
4 years ago
1
Role regex ODH Developers
PCRE (PHP <7.3)
Regex to proyect ODH for ROLE -> Developers
Submitted by
anonymous
-
4 years ago
1
capturing div a or span or etc
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
c comments
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
c without comments for valid c code
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
word boundary position
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
matching numbers
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
matching phone numbers
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
Replacing markup link to html
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
C# Variable Signature
Python
Used for extracting information from doxygen. Handles: modifiers type, with generics name...
Submitted by
anonymous
-
4 years ago
1
Image tags
PCRE (PHP <7.3)
Extract image tags from a HTML code
Submitted by
anonymous
-
4 years ago
1
words in same sentence (also not consecutive)
ECMAScript (JavaScript)
La regex individua piĆ¹ parole, anche non consecutive, presenti nella stessa frase (non separate da un punto). Affinata per la gestione dell'attribuzione del flag cantina dell'importer.
Submitted by
anonymous
-
4 years ago
1
s3_date_select
Python
no description available
Submitted by
anonymous
-
4 years ago
1
...
770
771
772
773
774
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
(
https
?
:
)?
\/\/
)?
(
(
[
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)+
(
:
(
[
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)+
)?
@
)?
(
[
\d\w
]
[
-
\d\w
]
{0,253}
[
\d\w
]
\.
)+
[
\w
]
{2,63}
(
:
[
\d
]
+
)?
(
\/
(
[
-+_~.
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)*
)*
(
\?
(
&
?
(
[
-+_~.
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)
=
?
)*
)?
(
#
(
[
-+_~.
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)*
)?
/
gmi
Open regex in editor
Description
check for urls
Submitted by
naxmefy
-
3 years ago