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. Click
here
to read more.
Community Patterns
Search among 6,000 community submitted regex patterns...
0
token
ECMAScript (JavaScript)
replace token like [foo:bar:ba zz]
Submitted by
anonymous
-
9 years ago
0
SharePoint File Name Vaidation
ECMAScript (JavaScript)
The file name validation algorithm from MS KB905231, I assumed the prohibited suffixes included the file extension. I.e. 'foo.doc.files' would not match but 'foo.files.doc' would.
Submitted by
David Nelson
-
9 years ago
1
Get directive names from javascript code
ECMAScript (JavaScript)
Get directive names from javascript code
Submitted by
OnlineCop
-
9 years ago
0
Machine readable passport number (second line)
ECMAScript (JavaScript)
Second line of the machine readable passport, based on the excellent article here - http://www.highprogrammer.com/alan/numbers/mrp.html
Submitted by
Leigh Garland
-
9 years ago
0
float
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
replace directive with iife
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
To Be Or Not To Be
ECMAScript (JavaScript)
no description available
Submitted by
DawnBridge
-
9 years ago
1
youtube video id
ECMAScript (JavaScript)
any format, check domain to make sure it's a youtube url
Submitted by
Mantish
-
9 years ago
1
Simplistic email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
LG G3
ECMAScript (JavaScript)
LG G3 Device identifier:LG-D855, LG-D851, LG-D850, VS985 4G, LGLS990, LGUS990, LG-D852
Submitted by
guy sandler
-
9 years ago
-2
Word ending with colon
ECMAScript (JavaScript)
no description available
Submitted by
hj
-
9 years ago
0
WOrd with colon
ECMAScript (JavaScript)
no description available
Submitted by
HJ
-
9 years ago
1
Bar Number
ECMAScript (JavaScript)
Length of 5 or 7. if 7, it should start with 20.
Submitted by
Chris Roe
-
9 years ago
0
Phone validate
ECMAScript (JavaScript)
Validate Phone number even if contain country code
Submitted by
Jorge Cervantes
-
9 years ago
1
ServiceNow - Retrieve text from an Email
ECMAScript (JavaScript)
retrieve multiple lines from an email body.
Submitted by
Evan Williams
-
9 years ago
1
Po box addresses
ECMAScript (JavaScript)
exludes all address with po box
Submitted by
paulo.castro48@gmail.com
-
9 years ago
1
RGBA color values and opacity matcher
ECMAScript (JavaScript)
Regex to match R-G-B and Opacity with/without "," and even RGBA text It will match rgba(x,x,x,x.x) rgba (x x X x.x) x,x,x,x.x x x x x.x...
Submitted by
Maulik Soni
-
9 years ago
1
#tag all languages
ECMAScript (JavaScript)
no description available
Submitted by
Farhad
-
9 years ago
1
URL matching
ECMAScript (JavaScript)
no description available
Submitted by
San
-
9 years ago
1
Wzorzec opisujący czas w postaci 000 np 300 np 1256
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
...
30
31
32
33
34
...
300
Po box addresses
1
Regular Expression
ECMAScript (JavaScript)
/
^
(?!
.
*
po
box
|
care
po
|
cma
|
gpo
box
|
locked
bag
|
ms
|
private
bag
|
rsd
|
rmb
|
rms
|
cpa
|
care
of
post
office
|
community
mail
agent
|
community
mail
bag
|
general
post
office
box
|
locked
mail
bag
service
|
mail
service
|
post
office
box
|
poste
restante
|
private
mail
bag
service
|
roadside
delivery
|
roadside
mail
bag
|
roadside
mail
box
|
roadside
mail
service
|
community
postal
agent
)
.
*
$
/
gi
Open regex in editor
Description
exludes all address with po box
Submitted by
paulo.castro48@gmail.com
-
9 years ago