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,000 community submitted regex patterns...
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
-
9 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
-
9 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
-
9 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
-
9 years ago
1
30164958
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Strip / Delete / Remove / empty paragraphs
PCRE (PHP <7.3)
You can format p:empty paragraphs with CSS, but sometimes they are not completely empty. This is meant to remove those.
Submitted by
SocialBlogsiteWebDesign.com
-
9 years ago
1
Phone Guatemala
PCRE (PHP <7.3)
Regex for phones in Guatemala
Submitted by
Rodrigo Polo
-
9 years ago
1
Greatest common divisor
ECMAScript (JavaScript)
Calculates the greatest common divisor of two numbers. Attention: pipes in the substitution separate alternatives. If one alternative does not match, the next alternative is tried if it exists. The substitution must be repeated until it cannot substitute further.
Submitted by
luis140219 on GitHub
-
9 years ago
1
remove link from discuz quoted message
PCRE (PHP <7.3)
no description available
Submitted by
Paul Wang
-
9 years ago
1
Regex not work in online regexEditor but work in actionscript3 code
ECMAScript (JavaScript)
Regex : /^\s\d+\s$(?:\r?\n?)+^\s([\d:,\.]+)\s-->\s([\d:,\.]+)\s$(?:\r?\n?)+((?:.(?:\r?\n?)?)?)(?:\r\n|\r|\n|$)/gm; Test String : 1...
Submitted by
anonymous
-
9 years ago
1
...
80
81
82
83
84
...
900
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(
^
(?:
[^
,
\n
]
+
,
\s
*
){8}
)
(
[^
;
\n
]
+
)
/
gm
Open regex in editor
Description
Regular expression created to separate CSV fields that are separated by commas with the end stopper with a semicolon
Submitted by
João Paulo Dias
-
6 years ago