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,820 community submitted regex patterns...
1
Url regex that capture the domain of the URL
ECMAScript (JavaScript)
https://developer.mozilla.org/es/ Url regex that capture the domain of the URL
Submitted by
anonymous
-
9 years ago
1
Url regex that capture the domain of the URLs
ECMAScript (JavaScript)
https://developer.mozilla.org/es/docs/Web/JavaScript https://www.google.es/webhp?hl=es Matches: MATCH 1...
Submitted by
D<OS>
-
9 years ago
1
Key-Value list separated by newlines
ECMAScript (JavaScript)
Example: foo = bar foo=bar foo= bar bar =foo foo = bar...
Submitted by
acosw
-
9 years ago
1
parse array to object p1
ECMAScript (JavaScript)
no description available
Submitted by
me
-
9 years ago
0
test
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
International numeric format validator
ECMAScript (JavaScript)
International numeric format validator
Submitted by
unknown
-
9 years ago
1
magnet
ECMAScript (JavaScript)
Extract magnet links
Submitted by
Peng
-
9 years ago
1
VISA Name
ECMAScript (JavaScript)
Alpha numeric characters including "hyphens" "quotation marks" and "semicolons" only
Submitted by
ME
-
9 years ago
1
Visa Country of Issue
ECMAScript (JavaScript)
3 alpha characters expected, except in the instance of Germany which allows 1 alpha character.
Submitted by
anonymous
-
9 years ago
1
belarus phone number updated
ECMAScript (JavaScript)
+375 (33) 302-66-60 or +37533302-66-60 http://stackoverflow.com/questions/33056434/regex-for-phones-at-belarus
Submitted by
anonymous
-
9 years ago
1
phone number belarus updated 2
ECMAScript (JavaScript)
+375 (33) 302-66-60 or +375333026660 http://stackoverflow.com/questions/33056434/regex-for-phones-at-belarus
Submitted by
anonymous
-
9 years ago
1
Oxford comma
ECMAScript (JavaScript)
Insert comma in lists before the word "and" or "or".
Submitted by
Mogsdad w/ assist from TerryAtOpus
-
9 years ago
1
1
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
url validation HTML5
ECMAScript (JavaScript)
This is validation that is used in html5 for validate the url. http://www.faqs.org/rfcs/rfc3987.html
Submitted by
Alex Matos
-
9 years ago
1
Grab filepaths from `source` in a bash script
ECMAScript (JavaScript)
Useful for making a build script that compiles all sources into one file.
Submitted by
William George
-
9 years ago
1
date Format
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Match zero-trimmed, quarter increment number
ECMAScript (JavaScript)
000.250 => 0.25 1.1 => 1 0.0 => 0
Submitted by
Paul Erickson
-
9 years ago
1
get rid of hash tag
ECMAScript (JavaScript)
no description available
Submitted by
LittlePiggy
-
8 years ago
1
Domain Regex (line start)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
-1
Replace comma separated decimals (comma instead of point)
ECMAScript (JavaScript)
Matches, line by line, a comma separated list of decimal numbers with comma as decimal character (Spanish way) Produces a list of comma separated pairs (space separated innermost) of decimal numbers with point as decimal character (English way)
Submitted by
Bruno A. Castro
-
8 years ago
1
...
36
37
38
39
40
...
191
Oxford comma
1
Regular Expression
ECMAScript (JavaScript)
/
(
(?:
[
\w
'-
]
+
,
\s
+
)+
(?:
[
\w
'-
]
+
\s
){0,2}
[
\w
'-
]
+
)
(
\s
+
(
and
|
or
)
\s
+
[
\w
'-
]
+
)
/
gi
Open regex in editor
Description
Insert comma in lists before the word "and" or "or".
Submitted by
Mogsdad w/ assist from TerryAtOpus
-
9 years ago