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 3,640 community submitted regex patterns...
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
-
9 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
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
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
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
-
9 years ago
1
Parser
ECMAScript (JavaScript)
Need everything inside this as separate variable :)
Submitted by
anonymous
-
9 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
-
9 years ago
1
t4
ECMAScript (JavaScript)
43t
Submitted by
34t
-
9 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
-
9 years ago
1
Find all BR tags in a string
ECMAScript (JavaScript)
Find all BR tags in a string
Submitted by
Mahima
-
9 years ago
1
LMC date match
ECMAScript (JavaScript)
no description available
Submitted by
David Zurcher
-
9 years ago
1
Trim
ECMAScript (JavaScript)
Trims a string without selecting any unnecessary text.
Submitted by
Vihan Bhargava
-
9 years ago
1
filtrar jadx
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
filterprocyonerror
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
jQuery Validation Email Regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
URL regex without anchors
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Password policy filter Rev 2
ECMAScript (JavaScript)
Password must have 2 Caps, 2 Smalls, 2 Nums and No space
Submitted by
Doug Karl
-
9 years ago
1
decoupeur de chaines selon les +-
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Basic IP matching
ECMAScript (JavaScript)
I've looked at some of the other IP matching that seems a lot more complex but several of them don't work, and I'm too simple minded to figure out why. Keep it simple, I've never had a problem matching IP addresses in logs with this one.
Submitted by
anonymous
-
9 years ago
1
...
113
114
115
116
117
...
182
t4
1
Regular Expression
ECMAScript (JavaScript)
/
a
*
?
(?!
-->
)
/
Open regex in editor
Description
43t
Submitted by
34t
-
9 years ago