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 3,660 community submitted regex patterns...
2
US and Canada Regex
ECMAScript (JavaScript)
A zipcode regex for validation of both US and Canada
Submitted by
Kyle M.
-
11 years ago
2
sample
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
2
trim string
ECMAScript (JavaScript)
trim leading and trailing whitespace from a string
Submitted by
Dave Atchley
-
10 years ago
2
price float pattern
ECMAScript (JavaScript)
Checks that value is float format and has two digits at max
Submitted by
@jprajani
-
10 years ago
2
Positive Numbers greater than 0 with leading zeroes.
ECMAScript (JavaScript)
Accepts all positive numbers above 0. Accepts numbers with leading zeroes e.g.: 0123, 00123.
Submitted by
Sandeep Ranka
-
10 years ago
2
Date validator for mm/dd/yy
ECMAScript (JavaScript)
no description available
Submitted by
Dheeraj Khushalani - dotnetguy.net
-
10 years ago
2
Find 'console.' but not 'console.log'
ECMAScript (JavaScript)
no description available
Submitted by
Jay Johnson
-
11 years ago
2
Punto antes de ¿ o ¡
ECMAScript (JavaScript)
Corregir la falta de punto cuando se abre un signo de exclamación o interrogación para el idioma español.
Submitted by
paconaranjo
-
10 years ago
2
Regular Expression For Date
ECMAScript (JavaScript)
Regular expression for asp:RegularExpressionValidator with format MMddyy. i have Resolved leap year issue as well as month ending day issue with Regular expression
Submitted by
Priyanka Khadilkar
-
10 years ago
2
YouTube Embed Video & Playlist from URL
ECMAScript (JavaScript)
It gets the playlistID and the videoID to conform the embed URL from the video URL
Submitted by
@rubenlopezgea
-
10 years ago
2
Extract info from anime filename
ECMAScript (JavaScript)
no description available
Submitted by
Haellsigh
-
9 years ago
2
Find scripts or css URIs
ECMAScript (JavaScript)
Given script or link tags, find and extracts URIs, excluding the double quotes
Submitted by
Rodrigo Kaveski
-
9 years ago
2
composer package
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
Match at least 2-letters (international)
ECMAScript (JavaScript)
RegExp to match that user has entered at least 2-letters (including international letters) in a field
Submitted by
anonymous
-
9 years ago
2
Find any URL with no trailing slash
ECMAScript (JavaScript)
Not perfect, but better than none.
Submitted by
oneglory
-
9 years ago
2
i18 language lines extraction
ECMAScript (JavaScript)
Extracts lines with i18 prefix from text
Submitted by
anonymous
-
9 years ago
2
youtube link + id + <a>
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
anyword plus word
ECMAScript (JavaScript)
no description available
Submitted by
7 HJ
-
9 years ago
2
URI without Trailing Slash
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
src of img tag
ECMAScript (JavaScript)
get contents of src attribute
Submitted by
me
-
9 years ago
1
...
170
171
172
173
174
...
183
Community Library Entry
13
Regular Expression
ECMAScript (JavaScript)
/
^
(
0
[
1
-
9
]
|
1
[
0
-
2
]
)
(
\/
|
-
)
(
[
0
-
9
]
{4}
)
$
/
gm
Open regex in editor
Description
Allows inserting expiry date as MM/YYYY or MM-YYYY format
Submitted by
Rider
-
9 years ago