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.
Become a sponsor today!
Community Patterns
Search among 12,940 community submitted regex patterns...
0
Detect space kernel between characters
PCRE (PHP <7.3)
Detect space kernel between characters
Submitted by
anonymous
-
2 years ago
0
Delete spaces between words only
PCRE (PHP <7.3)
Delete spaces between words only
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Delete spaces at beginning or end of a string
PCRE (PHP <7.3)
Delete spaces at beginning or end of a string
Submitted by
anonymous
-
2 years ago
0
Match Internal Links
ECMAScript (JavaScript)
Detect internal links in page
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Migrate infoboxes in AWB: Music phase 1
.NET 7.0 (C#)
Turn comma separated values in three deprecated parameters into template calls. (timestamp not considered yet)
Submitted by
anonymous
-
2 years ago
0
Migrate infoboxes in AWB: Music phase 3
.NET 7.0 (C#)
Insert "|tracks=" before the first occurrence
Submitted by
anonymous
-
2 years ago
0
Migrate infoboxes in AWB: Music phase 2
.NET 7.0 (C#)
Remove deprecated parameters
Submitted by
anonymous
-
2 years ago
0
Match markdown link
ECMAScript (JavaScript)
Regex match markdown link
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
WinSCP file list parse
ECMAScript (JavaScript)
Capture details of file sizes and names from a ls listing from WinSCP
Submitted by
anonymous
-
2 years ago
0
div change to button
ECMAScript (JavaScript)
div change to button
Submitted by
mtac
-
2 years ago
0
Positive Integer
ECMAScript (JavaScript)
(/^\d{0,}(([.]{1})?\d?){0,}$/gi
Submitted by
Wasiu Ramoni
-
2 years ago
0
Matches everything but digits and allows for one decimal point.
ECMAScript (JavaScript)
Matches everything but digits and allows for one decimal point. cannot start with a negative Allowed: 123...
Submitted by
Random Guy 70hz
-
2 years ago
0
QueryString and Datasource
ECMAScript (JavaScript)
asdasd
Submitted by
anonymous
-
2 years ago
0
篩選MP Log Day
.NET 7.0 (C#)
篩選MP Log Day
Submitted by
anonymous
-
2 years ago
0
Website Regex
ECMAScript (JavaScript)
Finds all website URLs
Submitted by
JohnnyJTH
-
2 years ago
0
password strong
PCRE (PHP <7.3)
password 8-16 with A-Z a-z 0-9 and !@#$ without %
Submitted by
alfxjx
-
2 years ago
0
find email addresses
Golang
find email addresses
Submitted by
anon
-
2 years ago
(Last modified 2 years ago)
0
get teacher url
ECMAScript (JavaScript)
will match ^/teacher//list$ ^/teacher//file/$ ^/teacher//info/$ ...
Submitted by
anonymous
-
2 years ago
0
Clean phone numbers
ECMAScript (JavaScript)
(204)555-5555 (204)-(555)-(5555) 204-555-5555 To: 2045555555
Submitted by
smitpatelx
-
2 years ago
0
cri logfmt
Golang
The CRI expr will match and parse log lines of this format: 2019-01-01T01:00:00.000000001Z stderr P some log message `
Submitted by
east4ming
-
2 years ago
1
...
619
620
621
622
623
...
647
Date with this format YYYY-MM-DD and year start 20 or 21
-4
Regular Expression
PCRE (PHP <7.3)
/
^
(
20
|
21
)
[
0
-
9
]
{2}
-
(
0
[
1
-
9
]
|
1
[
0
-
2
]
)
-
(
0
[
1
-
9
]
|
[
1
-
2
]
[
0
-
9
]
|
3
[
0
-
1
]
)
$
/
date php
Open regex in editor
Description
Date with this format YYYY-MM-DD and year start 20 or 21 like 2014
Submitted by
cisc0
-
10 years ago