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,020 community submitted regex patterns...
0
Canadian Postal Code
ECMAScript (JavaScript)
3 Forms: H5H 5H5 H5H5H5 H5H-5H5
Submitted by
Christopher Dufort
-
10 years ago
2
Simple Telephone number(America/Canada)
PCRE (PHP <7.3)
Accepts spaces or not 1234567890 123 456 7890
Submitted by
Christopher Dufort
-
10 years ago
2
BZWBK24 SMS Code
PCRE (PHP <7.3)
no description available
Submitted by
maniekq
-
10 years ago
2
Match 5 forward slashes
Python
Match 5 forward slashes
Submitted by
anonymous
-
10 years ago
1
^(?:0814|0815|0816|0855|0856\d|0857\d|0858\d|0859\d|0[^08]\d)\d{6,9}$
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Find exeptions in log4j
Python
regex to consider exceptions in log4j
Submitted by
anonymous
-
10 years ago
3
PL Phone number
PCRE (PHP <7.3)
PL Phone number
Submitted by
Dawid
-
10 years ago
1
Validador de Data (MMddYYYY e YYYYMMdd)
ECMAScript (JavaScript)
Verifica se o texto digitado corresponde a um formato de data valida por expl. 12/31/2015 ou 2015/12/31
Submitted by
Gustavo Américo (Gag)
-
10 years ago
1
Less number variables to dictionary
PCRE (PHP <7.3)
extract keys and values from .less variables
Submitted by
actarian
-
10 years ago
1
Check if number is a float
ECMAScript (JavaScript)
no description available
Submitted by
@hiaru
-
10 years ago
1
ReGEX EXPression
ECMAScript (JavaScript)
ReGEX EXPression generating Values but repeating want values should not repeat.
Submitted by
anonymous
-
10 years ago
1
postfix
Python
get ip identifier, queue name, email domain and status from postfix log
Submitted by
kglod
-
10 years ago
0
URL to link
PCRE (PHP <7.3)
http://blog.jmsinfo.co/?d=2015/02/16/10/17/49
Submitted by
Mickaël S.
-
10 years ago
2
foreach
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
check if a string starts with an integer, then hyphen, then anything
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Find a select or select top in a query
ECMAScript (JavaScript)
Some times we need replace de first select in a query to another. In my case i want replace to "Select top 1". With that a can replace any select to select top 1.
Submitted by
Diego Troitiño
-
10 years ago
1
russian phone number hard validation (multiformat)
PCRE (PHP <7.3)
Supported formats (mobile): +7(xxx)xxx xxxx +7(xxx)xxxxxxx +7(xxx)xxx-xx-xx +7(xxx)xxx xx xx +7 xxx xxx xx xx...
Submitted by
Redfern.89
-
10 years ago
-2
Find a IPV4
ECMAScript (JavaScript)
no description available
Submitted by
Jon Dotsoy
-
10 years ago
2
Match Characters outside list
ECMAScript (JavaScript)
no description available
Submitted by
vikas
-
9 years ago
2
csv parsing
PCRE (PHP <7.3)
csv parsing with content quota string
Submitted by
Andrey
-
9 years ago
1
...
27
28
29
30
31
...
901
Community Library Entry
2
Regular Expression
PCRE (PHP <7.3)
/
(
http:
\/\/
\s
*
|
https:
\/\/
\s
*
|
ftp:
\/\/
\s
*
)?
(
www
\s
*
)?
(?(1)
(
[
.
]
\s
*
)
)?
(?(2)
(
[
.
]
\s
*
)
)?
(
[
a
-
zA
-
Z0
-
9.-
]
{2,256}
)
(
\s
*
[
.
]
\s
*
)
(
ru
|
pl
|
kz
|
by
|
ua
|
com
|
in
|
pt
|
br
|
co
.
uk
)
(?!
[
a
-
zA
-
Z
]
)
(
[
?|#
]
{1}
[
=&#a
-
zA
-
Z0
-
9
]
{2,128}
)?
/
gui
Open regex in editor
Description
Sim regexp to try to catch a URL or a obfuscated URL (with spaces) from a string
Submitted by
Eduardo Pereira
-
9 years ago