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 11,620 community submitted regex patterns...
2
exp1
Python
no description available
Submitted by
anonymous
-
8 years ago
2
html{ height:100%}body{ margin:0px; padding:0px; height:100%; min-hei
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
Credit Card (Master/Visa)
PCRE (PHP <7.3)
Searches for credit card numbers from MasterCard or visa
Submitted by
SamPad
-
8 years ago
2
Match only first occurrence of word in a line.
PCRE (PHP <7.3)
Match only first occurrence of word in a line.
Submitted by
Vivek Shah
-
8 years ago
2
Apache ErrorLog Parsing
PCRE (PHP <7.3)
Parse Apache Error Log Line (in default format). Example: [Wed Jun 01 20:05:21.194671 2016] [core:error] [pid 40699] [client ::1:64519] PHP Parse error: syntax error, unexpected '$t' (T_VARIABLE) in /Projects/trunk/code/php/test.php on line 16
Submitted by
garys
-
8 years ago
2
days_and_weeks
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
EclipseKeyword_2
Python
no description available
Submitted by
Rashmin
-
8 years ago
2
Email validation
PCRE (PHP <7.3)
It validates an email address with alias
Submitted by
anonymous
-
8 years ago
2
AliasMatch
Python
no description available
Submitted by
anonymous
-
8 years ago
2
Find PHP object variables
Python
Find PHP object variables, and replace them with (array)brackets.
Submitted by
The Milkman
-
8 years ago
2
Adress regex
Python
no description available
Submitted by
Ali
-
8 years ago
2
Date of Birth
PCRE (PHP <7.3)
with Leap Year support (dd/MM/yyyy)
Submitted by
gdZeus (uploaded by limker)
-
8 years ago
2
8 Digits Password
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
new anchor
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
Match directory path
PCRE (PHP <7.3)
match with or without prevailing/trailing slashes
Submitted by
@zakiaziz
-
8 years ago
2
httplinkresolver
PCRE (PHP <7.3)
get special tag contains html link
Submitted by
okeskiner
-
8 years ago
2
Remove multiple white spaces between words
PCRE (PHP <7.3)
Remove multiple white spaces between words and replace it with the char of your choosing.
Submitted by
binary_fm
-
8 years ago
2
URL extractor
PCRE (PHP <7.3)
Extract parts of an URL.
Submitted by
Gilles Marchand
-
8 years ago
2
RewriteMatch into subfolder
PCRE (PHP <7.3)
RegEx for an .htaccess rewrite into a subfolder without provoking a 'too many redirects' error
Submitted by
Nils B.
-
8 years ago
2
Password (4 Classes)
Python
1 Uppercase 1 lower case 1 number 1 not a number or letter
Submitted by
anonymous
-
8 years ago
1
...
563
564
565
566
567
...
581
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
-
8 years ago