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
Community Patterns
Search among 12,840 community submitted regex patterns...
0
Finding and commenting uncommented console.log
ECMAScript (JavaScript)
Works in vsc for me and saves a lot of work!
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
IP Address Validator
Java 8
Validates IPv4 Address for Java
Submitted by
krzysp, jpalvesloiola
-
2 years ago
0
price with two decimals
ECMAScript (JavaScript)
test
Submitted by
anonymous
-
2 years ago
0
extended nginx log format
PCRE (PHP <7.3)
log_format timed '$http_x_forwarded_for - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$remote_addr" ' '$request_time $upstream_response_time $pipe';
Submitted by
Pei-Tang Huang
-
2 years ago
0
define_1
ECMAScript (JavaScript)
1
Submitted by
anonymous
-
2 years ago
0
Match a line that doesn't contain a word
ECMAScript (JavaScript)
Match a line that doesn't contain a word
Submitted by
xiaoyang
-
2 years ago
0
B1 - Invert First_name and Last_name in a citation author list
ECMAScript (JavaScript)
Convert a citation author list from Pierre Racine and Luc Lauzon and Daniel Lesieur to ...
Submitted by
anonymous
-
2 years ago
0
Postgresql JDBC URI
Java 8
Formats jdbc:postgresql:database jdbc:postgresql:/ jdbc:postgresql://host/database jdbc:postgresql://user:password@host/database...
Submitted by
fantabulum
-
2 years ago
0
删除Markdown中的标签连接
PCRE (PHP <7.3)
https://regex101.com/r/kndTMF/1
Submitted by
anonymous
-
2 years ago
0
Extract ALL images URLs from web page (unless domain is omitted because is local)
ECMAScript (JavaScript)
Extract ALL images URLs from web page (unless domain is omitted because is local)
Submitted by
anonymous
-
2 years ago
0
Extract all images URLs that are local (domain omitted) from a web page
ECMAScript (JavaScript)
Extract all images URLs that are local (domain omitted) from a web page
Submitted by
anonymous
-
2 years ago
0
取字母中间的数字
Java 8
获取前后各有一个数字,中间的数字
Submitted by
lemon 1900
-
2 years ago
0
multicast
ECMAScript (JavaScript)
.
Submitted by
anonymous
-
2 years ago
0
NextJS Compiler - reactRemoveProperties
PCRE (PHP <7.3)
Match Test Properties This regular expression is used on next.config.js and is used to remove test attributes from the production build. It filters any data attributes that starts with 'test', 'cy' or 'jest'. ...
Submitted by
Patrick Fantato <patrick@madebyon.com>
-
2 years ago
0
REGEX OS
Java 8
Regex para extrair titulo e descrição duma OS
Submitted by
anonymous
-
2 years ago
0
Email input validation
ECMAScript (JavaScript)
Regex to validate an email input with the following rules... Whole address: Up to 254 characters. Case insensitive. Username and domain separated by @ symbol....
Submitted by
chCharly
-
2 years ago
(Last modified 2 years ago)
0
IPv4 input field validator
PCRE (PHP <7.3)
Use It for partial/complete IPv4 address input text checking. OK examples: 19 / 192. / 192.168.1 / 192.168.1.1 / 0.0.0.0 KO examples: 1A / 01 / 192.168..1
Submitted by
José Luis García Morillo
-
2 years ago
0
Match any number greater than 14 using regexp
ECMAScript (JavaScript)
Any number greater than 14 means: Any number with 3 or more digits with possible leading 0's Any number with 2 digits where the first digit in in the character class [2-9] Any number with 2 digits where the first digit is 1 and the second digit in in the character class [5-9] Inspired by:...
Submitted by
anonymous
-
2 years ago
0
Pascal Case - no digits allowed
ECMAScript (JavaScript)
To be proper pascal case with no digits allowed, a word: MUST start with an upper case alphabet (A through Z) MUST have no digits (0 - 9) MUST have no spaces, punctuation or special characters CAN have at most 1 uppercase alphabet in a row CAN end in an uppercase alphabet...
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Pascal Case - digits allowed
ECMAScript (JavaScript)
To be proper pascal case a word with digits allowed and with upto 3 upper case letters, a word: MUST start with an upper case alphabet (A through Z) MUST have no digits (0 - 9) MUST have no spaces, punctuation or special characters CAN have at most 1 uppercase alphabet in a row CAN end in an upperca...
Submitted by
anonymous
-
2 years ago
1
...
621
622
623
624
625
...
642
Date: DD-MM-YYYY hh:mm:ss
18
Regular Expression
Recommended
PCRE (PHP <7.3)
/
^
(
0
[
1
-
9
]
|
1
\d
|
2
[
0
-
8
]
|
29
(?=
-
\d\d
-
(?!
1
[
01345789
]
00
|
2
[
1235679
]
00
)
\d\d
(?:
[
02468
]
[
048
]
|
[
13579
]
[
26
]
)
)
|
30
(?!
-02
)
|
31
(?=
-0
[
13578
]
|
-1
[
02
]
)
)
-
(
0
[
1
-
9
]
|
1
[
0
-
2
]
)
-
(
[
12
]
\d
{3}
)
(
[
01
]
\d
|
2
[
0
-
3
]
)
:
(
[
0
-
5
]
\d
)
:
(
[
0
-
5
]
\d
)
$
/
gm
Open regex in editor
Description
Validate and capture dateTime parts, includes validation for leap years, range 1000-2999. Fixed bug
Submitted by
Ka.
-
11 years ago