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 3,980 community submitted regex patterns...
0
does this work dms?
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
Single xml tag close to separated
ECMAScript (JavaScript)
the tag must be a minumum of 3 characters long so we don't catch any BR, HR, etc.
Submitted by
Agent Codesmith
-
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
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
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
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
-
10 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
-
10 years ago
1
Date extractor
ECMAScript (JavaScript)
Substitutes a group of dates by its information and captures the date information. Also allows fooled dates. (2015-02-30, 2015-03-32 for example)
Submitted by
luis140219 on GitHub
-
10 years ago
1
Parser
ECMAScript (JavaScript)
Need everything inside this as separate variable :)
Submitted by
anonymous
-
10 years ago
1
number separator positions
ECMAScript (JavaScript)
finds the positions in a number to be replaced with a thousands separator, e.g. 12345 => 12`345
Submitted by
anonymous
-
10 years ago
1
t4
ECMAScript (JavaScript)
43t
Submitted by
34t
-
10 years ago
1
Non-parentheses characters, but allow escaped parentheses.
ECMAScript (JavaScript)
Trying to discover how to select all ranges except non-escaped parentheses.
Submitted by
anonymous
-
10 years ago
1
Find all BR tags in a string
ECMAScript (JavaScript)
Find all BR tags in a string
Submitted by
Mahima
-
10 years ago
-2
Any telephone number with region and country in any format
ECMAScript (JavaScript)
Matches any telephone number with region parentesis, or separated by points or dash or spaces
Submitted by
https://co.linkedin.com/in/andresfelipecardona
-
10 years ago
-3
remove facebook urls from html
ECMAScript (JavaScript)
This will remove all facebook urls from a HTML string
Submitted by
Russell Miller
-
10 years ago
1
LMC date match
ECMAScript (JavaScript)
no description available
Submitted by
David Zurcher
-
10 years ago
1
Trim
ECMAScript (JavaScript)
Trims a string without selecting any unnecessary text.
Submitted by
Vihan Bhargava
-
10 years ago
-2
Check syntax port ACL VNG
ECMAScript (JavaScript)
no description available
Submitted by
nguyenvq
-
10 years ago
1
filtrar jadx
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
...
26
27
28
29
30
...
199
Community Library Entry
2
Regular Expression
Java 8
"
\[
(
plantuml
.
+
)
\]
\s
+
\.
{4}
\s
(
[
\s\S
]
+
?
(?=
^
\.
{4}
)
)
\.
{4}
"
gm
Open regex in editor
Description
Regex to select PlantUML Block in Asciidoc documents
Submitted by
anonymous
-
3 years ago