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
Community Patterns
Search among 5,680 community submitted regex patterns...
-2
Match Content-Range response header
ECMAScript (JavaScript)
Matches the Content-Range response header format -[end]/[total|*]
Submitted by
mdezem
-
9 years ago
-2
Match website - http:|https://i.imgur.com
ECMAScript (JavaScript)
no description available
Submitted by
ghrifter
-
9 years ago
2
Out of office
ECMAScript (JavaScript)
This is why
Submitted by
anonymous
-
9 years ago
1
Find a select or select top in a query
ECMAScript (JavaScript)
Some times we need replace de first select in a query to another. In my case i want replace to "Select top 1". With that a can replace any select to select top 1.
Submitted by
Diego TroitiƱo
-
9 years ago
0
Remove double-slash comments
Python
This regex removes double-slash comments while avoiding anything between 'quotes' or "double quotes".
Submitted by
jlacroix
-
9 years ago
1
Chords
ECMAScript (JavaScript)
Expression to match a large amount of possible musical chords. From what I understand from musicians, the number of chords is basically infinite, but you will still find a certain scope being used freuently.
Submitted by
A=B
-
9 years ago
0
Finnsih date with the "dd mmmm yyyy" format
Python
Parse a Finnish date with de "dd. mmmm yyyy" or "dd.mm.yyyy" format.
Submitted by
Tantale
-
9 years ago
9
English date in "dd mmmm yyyy" format
Python
Parse an English date following the "dd mmmm yyyy" format.
Submitted by
Tantale
-
9 years ago
1
Bulgarian date "dd mmmm yyyy" format
Python
Parse a bulgarian date following the "dd mmmm yyyy" format.
Submitted by
Tantale
-
9 years ago
1
Long slovak date with the "dd. mmmm yyy" format
Python
Match a slovak date following the "dd. mmmm yyy" format.
Submitted by
Tantale
-
9 years ago
1
Parser
ECMAScript (JavaScript)
Need everything inside this as separate variable :)
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
MySQLcase
Python
make sure mysql tables have the correct form
Submitted by
d
-
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
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
7
Match text (not within html tag)
ECMAScript (JavaScript)
no description available
Submitted by
Moistly
-
9 years ago
0
test
Python
test
Submitted by
boag
-
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
25
Quote Macthing with escape
ECMAScript (JavaScript)
Matches text within quotes (", ') and escapes the charecters.
Submitted by
Vihan Bhargava
-
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
...
266
267
268
269
270
...
284
Identifier Regex
0
Regular Expression
Java 8
"
(
[
a
-
zA
-
Z_
]
[
a
-
zA
-
Z0
-
9_
]
+
|
[
a
-
zA
-
Z
]
)
"
g
Open regex in editor
Description
Regex for identifiers
Submitted by
anonymous
-
a year ago