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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 12,060 community submitted regex patterns...
1
test
PCRE (PHP <7.3)
test
Submitted by
test
-
9 years ago
1
regexp for Shahar
PCRE (PHP <7.3)
regexp for Shahar
Submitted by
Eugene
-
9 years ago
1
Email Check
PCRE (PHP <7.3)
Verify an email is OK
Submitted by
Will
-
9 years ago
1
Validate Url with or without http(s)://
PCRE (PHP <7.3)
This will validate whether you starts with http(s)://
Submitted by
Sanal Menon Kalipurayath
-
9 years ago
1
Output string is not displayed for given regex
PCRE (PHP <7.3)
I have this regex and input string. But nothing is displayed in output area. Could you please help to know why it is not displaying output? Thanks.
Submitted by
anonymous
-
9 years ago
1
afsd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
match only an #endif where no wordcharacter is following(multiline)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
mceItem_breakpoint
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
mceItem_breakpoint2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
always greedy
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Validate mail
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
SelfMon Filter User & Group
PCRE (PHP <7.3)
Filter selfmon events by user and group using the r= switch. The full filter is entered as: r=/(?=.FULL SET USER1)(?=.Grp= 1)/ms
Submitted by
SelfMon
-
9 years ago
1
Extrae episodios
PCRE (PHP <7.3)
Extrae episodeos de una pagina de series flv
Submitted by
Aldo Lopez
-
9 years ago
1
youtube parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
HP OO Shell OPeration
PCRE (PHP <7.3)
I am trying to capture from HP OO SSH shell operation, basicall it will run the commands what we send from HP OO and this operation expects return output to send next command. I am trying to send command gtacl and next command is LOGON username, OO expects to match string to send another command, t...
Submitted by
Lokesh
-
9 years ago
1
PHP DateInterval Specification Validator
PCRE (PHP <7.3)
This REGEX could be used to validate a PHP DateInterval specification.
Submitted by
Tim Visée, http://timvisee.com/
-
9 years ago
1
imperial string
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Match nth occurence of expression
PCRE (PHP <7.3)
Change the number in curly braces (3 in this example) to match for the nth occurence of the expression in the two inner parenthesis
Submitted by
Alex Hall
-
9 years ago
1
aa
PCRE (PHP <7.3)
aaa
Submitted by
aaa
-
9 years ago
1
Quote Parsing
PCRE (PHP <7.3)
Parses quotes and can be escaped
Submitted by
Vihan B.
-
9 years ago
1
...
48
49
50
51
52
...
603
URL
1
Regular Expression
PCRE (PHP <7.3)
/
(
http
|
https
)
\:\/\/
(?:
(
.
+
?
)
(?:
\:
(
.
+
?
)
)?
\@
)?
(
(?:
[
\w
-
]
+
\.
)+
)
(
[
A
-
Za
-
z0
-
9
]
+
)
(?:
\:
(
\d
{2,5}
)
)?
(
(?:
\/
[
\w
-%.
]
*
)+
)?
(
\?
(?:
[
\w
-%&="'+,
]
+
)?
)?
(
\#
(?:
[^
#
]
+
)?
)?
/
Open regex in editor
Description
Gets all parts of URL including port, username, password, fragment, query, and path
Submitted by
Vihan Bhargava
-
9 years ago