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
Most upvotes
Most downvotes
Highest Score
Lowest Score
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 6,320 community submitted regex patterns...
-2
Word ending with colon
ECMAScript (JavaScript)
no description available
Submitted by
hj
-
9 years ago
2
extract twitter username from url
ECMAScript (JavaScript)
Adopted one of answers from: http://stackoverflow.com/questions/5948051/regex-extract-twitterusername-from-url
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
1
Console.log line deletion, multi line.
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Simplistic email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
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
To Be Or Not To Be
ECMAScript (JavaScript)
no description available
Submitted by
DawnBridge
-
9 years ago
1
Simple Valid File Names
ECMAScript (JavaScript)
Simple file names. Special chars allowed (-_.) {3, 40}
Submitted by
CADII
-
9 years ago
1
replace directive with iife
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
float
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
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
1
Get directive names from javascript code
ECMAScript (JavaScript)
Get directive names from javascript code
Submitted by
OnlineCop
-
9 years ago
0
file extension
ECMAScript (JavaScript)
get the file extension of a given filename
Submitted by
Simon Taylor
-
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
Date format
ECMAScript (JavaScript)
date should be in format YYYYMMDDHHMMSS
Submitted by
Prashant Kumar Dubey
-
9 years ago
0
token
ECMAScript (JavaScript)
replace token like [foo:bar:ba zz]
Submitted by
anonymous
-
9 years ago
1
search text matching any word
ECMAScript (JavaScript)
search text matching any word
Submitted by
Hiren Shah
-
9 years ago
0
date format regex for MM/dd/yyyy in javascript
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-2
Date format regex for ddMMMyyyy
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
author bibtext
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
...
298
299
300
301
302
...
316
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
\d
*
)
(
(
\/
)
\d
*
)?
(
[^
]
*
)
(
Alley
|
Approach
|
Arcade
|
Avenue
|
Boardwalk
|
Boulevard
|
Break
|
Bypass
|
Chase
|
Circuit
|
Close
|
Concourse
|
Court
|
Crescent
|
Crest
|
Drive
|
Entrance
|
Esplanade
|
Firetrail
|
Freeway
|
Glade
|
Grange
|
Grove
|
Highway
|
Lane
|
Loop
|
Mall
|
Mews
|
Parade
|
Parkway
|
Passage
|
Path
|
Place
|
Plaza
|
Promenade
|
Quays
|
Ramp
|
Retreat
|
Ridge
|
Rise
|
Road
|
Square
|
Steps
|
Street
|
Subway
|
Terrace
|
Track
|
Trail
|
View
|
Vista
|
Walk
|
Way
|
Wharf
)
/
gm
Open regex in editor
Description
This Regex Matches Australian Adresses
Submitted by
anonymous
-
a year ago