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...
0
Replace last segment of url?
ECMAScript (JavaScript)
Work in Progress
Submitted by
anonymous
-
3 years ago
0
Match comments
PCRE2 (PHP >=7.3)
This will match the comments. Example: # hi print "Hello, World!" # hi will be...
Submitted by
Fmbalbuena
-
3 years ago
0
draft-js-markdown mention link regex
ECMAScript (JavaScript)
draft-js-markdown mention link regex
Submitted by
anonymous
-
3 years ago
0
Workdone regex
ECMAScript (JavaScript)
Workdone system
Submitted by
anonymous
-
3 years ago
0
dd
ECMAScript (JavaScript)
dd
Submitted by
anonymous
-
3 years ago
0
Find JSON key with any value except the values given
PCRE2 (PHP >=7.3)
Use this regular expression if you search through a big JSON file and you are looking whether a specific key holds any value different than the ones given.
Submitted by
Sebastian Zander
-
3 years ago
(Last modified 3 years ago)
0
Hello World | Regex Number JS
PCRE2 (PHP >=7.3)
Regex number
Submitted by
mfilype
-
3 years ago
0
My html tag regex
Python
My html tag regex
Submitted by
anonymous
-
3 years ago
0
IP Tables Rules
PCRE2 (PHP >=7.3)
Match IP Tables Rules for logging
Submitted by
Proffalken
-
3 years ago
0
getCodeJav
PCRE2 (PHP >=7.3)
Regex get code jav
Submitted by
Denss
-
3 years ago
0
Regex para pegar parte de um código até determinada tag
ECMAScript (JavaScript)
Essa regex fiz para pegar uma parte do código que continha um conteúdo a ser substituído ao clicar no botão.
Submitted by
anonymous
-
3 years ago
0
Mosmix Data
PCRE2 (PHP >=7.3)
Mosmix Weatherstations Data Id, Name, Lat, Lon
Submitted by
Stefc
-
3 years ago
0
Date separated by dashes (YYYY-MM-DD)
ECMAScript (JavaScript)
Date separated by dashes in the following format YYYY-MM-DD
Submitted by
Efra
-
3 years ago
0
releaes-jdk
Java 8
parse jdk version source
Submitted by
youliang.feng
-
3 years ago
0
Find actual year in string
PCRE2 (PHP >=7.3)
Years: 1970-2029
Submitted by
Ant-kul
-
3 years ago
0
css font-face url
PCRE2 (PHP >=7.3)
found font-face url in sty;e.css
Submitted by
anonymous
-
3 years ago
0
turns lines into html paragraphs
PCRE2 (PHP >=7.3)
mturns lines into html paragraphs
Submitted by
Mateus Junior
-
3 years ago
0
RFC3454 Stringprep matcher (documentation parser)
PCRE2 (PHP >=7.3)
Matching expressions from lists of maps as samples: 0221 0234-024F 02AE-02AF 03AB; 03CB; Case map...
Submitted by
Marin Sagovac
-
3 years ago
0
豆瓣图书信息匹配/Regex for douban books
Golang
提取书籍信息 get book information link like:https://book.douban.com/subject/35049755/
Submitted by
anonymous
-
3 years ago
0
SHORT CODES
PCRE2 (PHP >=7.3)
Para obtener la longitud de marcaciones cortas con longitud de 3 a 6 digitos
Submitted by
anonymous
-
3 years ago
1
...
464
465
466
467
468
...
900
Community Library Entry
40
Regular Expression
PCRE (PHP <7.3)
/
(
(
(
[
A
-
Za
-
z
]
{3,9}
:
(?:
\/\/
)?
)
(?:
[
-;:&=
\+\$
,
\w
]
+
@
)?
[
A
-
Za
-
z0
-
9.-
]
+
|
(?:
www
.
|
[
-;:&=
\+\$
,
\w
]
+
@
)
[
A
-
Za
-
z0
-
9.-
]
+
)
(
(?:
\/
[
\+
~%
\/
.
\w
-_
]
*
)?
\?
?
(?:
[
-
\+
=&;%@.
\w
_
]
*
)
#
?
(?:
[
.
\!\/\\
w
]
*
)
)?
)
/
ig
Open regex in editor
Description
A quite neat regular expression for URLs, e-mails..., I found on Matthew O'Riordan's blog.
Submitted by
Matthew O'Riordan
-
12 years ago