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 8,180 community submitted regex patterns...
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
1
message
Python
no description available
Submitted by
anonymous
-
9 years ago
1
signal
Python
no description available
Submitted by
anonymous
-
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
Regex - global match, multiline
Python
no description available
Submitted by
MetalMuzu
-
9 years ago
1
java
Python
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
-
9 years ago
1
Domain Regex (line start)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Lua Symbol Recognizer
ECMAScript (JavaScript)
Recognizes the set of all Lua symbols
Submitted by
Nicholas Barrett
-
9 years ago
1
PECL: find stable versions
Python
no description available
Submitted by
anonymous
-
9 years ago
1
regex date_time
ECMAScript (JavaScript)
expression régulière pour les dates et les heures précises au millionième de seconde
Submitted by
Master
-
9 years ago
1
123
ECMAScript (JavaScript)
fsd
Submitted by
fds
-
9 years ago
1
Date
Python
Find and ISO format date.
Submitted by
Andrew Chalk
-
9 years ago
1
anti-xss regex
ECMAScript (JavaScript)
this is a white list regex that invalidates input with "=
Submitted by
Ivan Cai
-
9 years ago
(Last modified a year ago)
1
time
Python
get time in string 33:20 a.m
Submitted by
Hoang Phuong - Gia Lai
-
9 years ago
1
format time:"33:20 p.m"
Python
Get time in string 33:20 p.m
Submitted by
Hoang Phuong - Viet Nam
-
9 years ago
1
...
297
298
299
300
301
...
409
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