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,700 community submitted regex patterns...
2
Extract info from anime filename
ECMAScript (JavaScript)
no description available
Submitted by
Haellsigh
-
9 years ago
13
Credit Card Expiry Date
ECMAScript (JavaScript)
Allows inserting expiry date as MM/YYYY or MM-YYYY format
Submitted by
Rider
-
9 years ago
1
StackOverflow 30430783
Python
no description available
Submitted by
Honza Osobne
-
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
phanindra.vaga.ranama
Python
sdf
Submitted by
asdf
-
9 years ago
1
t4
ECMAScript (JavaScript)
43t
Submitted by
34t
-
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
-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
...
266
267
268
269
270
...
285
regex to get N words from a line
1
Regular Expression
ECMAScript (JavaScript)
/
^
(
(?:
\w
+
\s
?
){1,12}
)
.
*
/
gm
Open regex in editor
Description
usefull if you want to return (N) words instead of (N) chars
Submitted by
Pavel Dominguez
-
9 years ago