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...
1
Validate mail
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 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
-
10 years ago
1
URL Validator and Slicer
Python
Validates a URL input as text and then slices it into: protocol, base_url, port, relative_url and parameters. (Multiline and global flags are set for debugging reasons only)
Submitted by
George Shazkho
-
10 years ago
1
Extrae episodios
PCRE (PHP <7.3)
Extrae episodeos de una pagina de series flv
Submitted by
Aldo Lopez
-
10 years ago
1
youtube parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Validador de Senha
ECMAScript (JavaScript)
Para ser valido o texto deve ter entre 6 e 32 caracter entre eles um deve ser um especial, uma letra maiúscula, uma minúscula e um número
Submitted by
Gustavo Am érico (GAG)
-
10 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
-
10 years ago
1
Remove GO and split for batch SQL text
ECMAScript (JavaScript)
Useful for when you need to convert a T-SQL MSSMS Server batch into individual SQL requests by removing the GO between them. e.g. Dim SQLBatches As String() = Regex.Split(text, "(?:\s|\r|\n)+GO\s*(?:\r|\n)", RegexOptions.IgnoreCase)
Submitted by
SarahC
-
10 years ago
1
URL parser
Python
gets the ://:/ from am url
Submitted by
anonymous
-
10 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/
-
10 years ago
1
imperial string
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
regex for redirect
Python
no description available
Submitted by
igor
-
10 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
-
10 years ago
1
aa
PCRE (PHP <7.3)
aaa
Submitted by
aaa
-
10 years ago
1
Quote Parsing
PCRE (PHP <7.3)
Parses quotes and can be escaped
Submitted by
Vihan B.
-
10 years ago
1
Email with groups
ECMAScript (JavaScript)
Groups for: Whole email user domain Matches valid emails with numbers, chars, dots and dashes, domains with extensions of 2 or 3 letters.
Submitted by
Ruben Paz
-
10 years ago
1
Liberal Email Address
ECMAScript (JavaScript)
Very simple & basic. More forgiving, less stringent. Allows anything which looks reasonably valid. Allows one at-symbol. Requires a two part hostname (i.e. abc@localhost is not allowed)
Submitted by
billinghamj
-
10 years ago
1
Numéro téléphone portable
PCRE (PHP <7.3)
prend en compte les +33 requiert un début par 06 ou 07 accepte les séparateurs de type "." ou " "
Submitted by
brad.inside@gmail.com
-
10 years ago
1
StackOverflow answer for: How can I parse an attribute string to an ar
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
30164958
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
...
80
81
82
83
84
...
901
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
\<
(
[
0
-
9
]
{1,3}
)
\>
(
\d
{0,2}
)
(
\-
|
[
\S
]
+
)
(
\-
|
[
\S
]
{1,255}
)
(
\-
|
[
\S
]
{1,48}
)
(
\-
|
[
\S
]
{1,128}
)
(
\-
|
[
\S
]
{1,32}
)
(
\-
|
\[
[
\S\s
]
+
\]
)
(
[
\S\s
]
+
){0,1}
/
g
Open regex in editor
Description
Simple matcher for syslog RFC 5424
Submitted by
loreii
-
7 years ago