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,040 community submitted regex patterns...
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
0
8 digits
PCRE (PHP <7.3)
Finds 8 digits in text preceded by a period
Submitted by
anonymous
-
3 years ago
0
URL validation regexp
PCRE2 (PHP >=7.3)
Regexp to check URL validity and extract subparts. Allows HTTP / HTTPs / sFTP / FTP / FTPs protocols Allows HTTP / FTP authentication included in URL Allows internal domain names Allow non default port protols...
Submitted by
Damien Cuvillier
-
3 years ago
1
...
464
465
466
467
468
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(?:
(
http
?
|
s
?
ftp
)
:
\/\/
|
file:
\/\/\/
)?
(
(
[
\P{Cc}
]
+
)
:
(
[
\P{Cc}
]
+
)
@
)?
(
[
a
-
zA
-
Z0
-
9
]
[
a
-
zA
-
Z0
-
9.-
]
*
)
(
:
[
0
-
9
]
{1,5}
)?
(
$
|
\/
[
\w
\-\.
_~:
\/
?[
\]
@!
\$
&'
\(\)\*\+
,;=.
]
+
(
\#
[
\w
]
*
)?
$
)
/
gixm
Open regex in editor
Description
Regexp to check URL validity and extract subparts.
Allows HTTP / HTTPs / sFTP / FTP / FTPs protocols
Allows HTTP / FTP authentication included in URL
Allows internal domain names
Allow non default port protols
You can extract subpart components of your URL :
protocol
domain name
authentication
port number
subdir
anchor
Submitted by
Damien Cuvillier
-
3 years ago