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 18,040 community submitted regex patterns...
0
adding space after (.) period and next word
ECMAScript (JavaScript)
Requirement was to check if there is space between . and next text and if not the then add space
Submitted by
Prajkta
-
11 years ago
0
help me please
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
0
decimal numbers
PCRE (PHP <7.3)
match decimal numbers with sign
Submitted by
mariano_dm
-
11 years ago
0
Date with this format YYYY-MM-DD and year start 20 or 21
PCRE (PHP <7.3)
Date with this format YYYY-MM-DD and year start 20 or 21 like 2014-12-12
Submitted by
cisc0
-
11 years ago
0
IMAP Status Response with MESSAGE and UNSEEN count
PCRE (PHP <7.3)
Matches the folder name (as IMAP ATOM, Quoted String or Literal String) and folder message total and unseen count.
Submitted by
Mike Johnson
-
11 years ago
0
Improved regex101 ID grabber (fixed)
PCRE (PHP <7.3)
no description available
Submitted by
Oleksandr Sochka
-
11 years ago
0
Splits jquery selector, 2nd part is selector of last element
ECMAScript (JavaScript)
no description available
Submitted by
Uzair Farooq
-
11 years ago
0
php comment
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
0
Match all parts of the valid JSON
PCRE (PHP <7.3)
Originally written by Pumbaa80, but slightly adjusted: http://stackoverflow.com/questions/4810841/how-can-i-pretty-print-json-using-javascript
Submitted by
Pumbaa80
-
11 years ago
0
waypoints
Python
Text fields describing a name and positions
Submitted by
bruno.piguet@meteo.fr
-
11 years ago
0
background:url
PCRE (PHP <7.3)
no description available
Submitted by
Mitus M.
-
11 years ago
0
background:url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
0
In a pipe separed list of values check for a concrete one
PCRE (PHP <7.3)
no description available
Submitted by
furbypaloma
-
11 years ago
0
Markdown Inline Link to HTML Anchor
PCRE (PHP <7.3)
Extracts title and link from Markdown inline link to be placed into an HTML anchor tag.
Submitted by
Mike Johnson
-
11 years ago
0
salanki
PCRE (PHP <7.3)
no description available
Submitted by
salanki
-
11 years ago
0
SFTP with username and optional port & password
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
0
Failing regex which works in Perl
PCRE (PHP <7.3)
Goal is match example lines which are not comments.
Submitted by
anonymous
-
11 years ago
0
Any Character Between 6-64 Long
PCRE (PHP <7.3)
Allowing for complex passwords
Submitted by
anonymous
-
11 years ago
0
ssi tag into html contents with file and virtual directives
ECMAScript (JavaScript)
no description available
Submitted by
Prashant Gaur
-
11 years ago
0
unicode email sanitising
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
...
19
20
21
22
23
...
902
Community Library Entry
2
Regular Expression
ECMAScript (JavaScript)
/
(
^
[
0
-
9
]
{5}
(
-
[
0
-
9
]
{4}
)?
$
)
|
(
^
[
ABCEGHJKLMNPRSTVXY
]
{1}
[
0
-
9
]
{1}
[
A
-
Z
]
{1}
*
[
0
-
9
]
{1}
[
A
-
Z
]
{1}
[
0
-
9
]
{1}
$
)
/
zipcode
Open regex in editor
Description
A zipcode regex for validation of both US and Canada
Submitted by
Kyle M.
-
11 years ago