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 6,260 community submitted regex patterns...
0
JSON trailing comma match
PCRE2 (PHP >=7.3)
Don't rely on this for any serious business, though.
Submitted by
Basix
-
3 years ago
0
Keep only domain and protocol it present.
PCRE2 (PHP >=7.3)
Keep only domain and protocol it present.
Submitted by
EcoTechie
-
3 years ago
0
app version number greater than
PCRE2 (PHP >=7.3)
app version number greater than
Submitted by
anonymous
-
3 years ago
0
US Phone number regex
ECMAScript (JavaScript)
Matches formats such as the following: 555-555-5555 (555)555-5555 (555) 555-5555 555 555 5555 5555555555...
Submitted by
anonymous
-
3 years ago
(Last modified a year ago)
0
upload file name validations
ECMAScript (JavaScript)
upload file name validations
Submitted by
Arumugam
-
3 years ago
0
Email
PCRE2 (PHP >=7.3)
Email no Ñ no tilde
Submitted by
anonymous
-
3 years ago
0
facebook
PCRE2 (PHP >=7.3)
AMP - chinatimes
Submitted by
anonymous
-
3 years ago
(Last modified 2 years ago)
1
Inverse Brainfuck Regex
PCRE2 (PHP >=7.3)
Regex to select everything except brainfuck symbols.
Submitted by
rex0515
-
3 years ago
1
Brainfuck Regex
PCRE2 (PHP >=7.3)
Regex to select every brainfuck symbol.
Submitted by
rex0515
-
3 years ago
1
Split Base64
PCRE2 (PHP >=7.3)
-
Submitted by
anonymous
-
3 years ago
0
JWT token
ECMAScript (JavaScript)
JWT token
Submitted by
QNimbus
-
3 years ago
0
HTTP Authorization header for JWT token
ECMAScript (JavaScript)
HTTP Authorization header for JWT token
Submitted by
QNimbus
-
3 years ago
0
Task D5
PCRE2 (PHP >=7.3)
For course
Submitted by
anonymous
-
3 years ago
0
KFZ Kennzeichen Prüfung (ohne -)
ECMAScript (JavaScript)
Prüft ein deutsches Kfz-Kennzeichen auf gültigen Aufbau Source: morpheus42
Submitted by
Simon Müller
-
3 years ago
0
after the </h2> Any new paragraph should start with a <p>
PCRE2 (PHP >=7.3)
In case #2: after the Any new paragraph should start with a
Submitted by
anonymous
-
3 years ago
0
the end of file paragraph should have a closing </p>
PCRE2 (PHP >=7.3)
the end of file paragraph should have a closing should be used after regex2 to remove at the end
Submitted by
anonymous
-
3 years ago
0
clean up old line breaks replacing with a closed paragraph </p>and <p>
PCRE2 (PHP >=7.3)
I want to clean up old line breaks replacing with a closed paragraph and an open paragraph . So, , or , or becomes
Submitted by
anonymous
-
3 years ago
0
subdomainfinder.c99.nl to seeds
PCRE2 (PHP >=7.3)
parse results from https://subdomainfinder.c99.nl/ to https-seeds.
Submitted by
anonymous
-
3 years ago
1
Parse Kubernetes Resource URI Paths
Golang
This regex extracts Kubernetes Resource URIs. Copyright 2021 Mathew Wicks Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License....
Submitted by
Mathew Wicks
-
3 years ago
0
Regex to add <p> in the beginning
PCRE2 (PHP >=7.3)
In case #3: A should be prepended to the beginning of the first paragraph.
Submitted by
anonymous
-
3 years ago
1
...
134
135
136
137
138
...
313
Replace last segment of url?
0
Regular Expression
ECMAScript (JavaScript)
/
(
http
[
s
]
?
:
\/\/
)
(
\S
+
\/
)*
(?!
=
\/
$
|
$
)
(
[^
\/
]
+
\/
)*
(?=
\/
$
|
$
)
/
gm
Open regex in editor
Description
Work in Progress
Submitted by
anonymous
-
3 years ago