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,000 community submitted regex patterns...
1
Clean unnecessary white spaces from JSON
PCRE2 (PHP >=7.3)
transform formatted JSON to one line by removing unneeded spaces.
Submitted by
anonymous
-
19 hours ago
(Last modified 18 hours ago)
1
english sentence tokenizer
PCRE2 (PHP >=7.3)
This is an english sentence tokenizer; it tokenizes correct english sentences. This can be done in a very short, "regex" string. Incorrect sentence examples be like: awesome thats so cool!...
Submitted by
anonymous
-
11 hours ago
2
MIME type verification
PCRE (PHP <7.3)
See http://tools.ietf.org/html/rfc2045#section-5.1
Submitted by
Erin Millard
-
12 years ago
2
js function test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
12 years ago
2
Basic Phone Number Verification
PCRE (PHP <7.3)
Verifies a phone number
Submitted by
anonymous
-
11 years ago
2
Get Currency SYMBOL/CODE
PCRE (PHP <7.3)
no description available
Submitted by
Ka.
-
11 years ago
2
Hello world example
PCRE (PHP <7.3)
no description available
Submitted by
Fedir RYKHTIK
-
11 years ago
2
takie
PCRE (PHP <7.3)
no description available
Submitted by
sdfsdfdsf
-
11 years ago
2
Error in Refex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
2
hghdgh
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
2
sample
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
2
Split Date
PCRE (PHP <7.3)
no description available
Submitted by
Arun Kumar Sekar
-
11 years ago
2
Get dynamic parameters from an URL
PCRE (PHP <7.3)
Gets the parameters (how many you want) from a url and organize into groups
Submitted by
Caio Oliveira
-
11 years ago
2
SRT (SubRip) Parser
PCRE (PHP <7.3)
Matches id, timecode and text for multiple subtitles. Make sure the source ends with a blank line to capture the last subtitle.
Submitted by
Fergo
-
11 years ago
2
US Postal Code
ECMAScript (JavaScript)
refactor
Submitted by
jay johnson
-
11 years ago
2
code bracket parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
2
the the
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
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
Find 'console.' but not 'console.log'
ECMAScript (JavaScript)
no description available
Submitted by
Jay Johnson
-
11 years ago
2
Episode numbering below 100
PCRE (PHP <7.3)
Simplest form to match all the episode numbering versions I could remember that don't use incremental numberign without seasons.
Submitted by
SEKCobra
-
11 years ago
1
...
854
855
856
857
858
...
900
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
<a
[^
>
]
*
?
href=
(?|
"
(
[^
"
]
*
?
)
"
|
'
(
[^
'
]
*
?
)
'
)
.
*
?
>
(
.
*
?
)
<
\/
a>
/
gm
Open regex in editor
Description
reset
Submitted by
anonymous
-
2 years ago