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 2,780 community submitted regex patterns...
1
Chinese Phone Number
PCRE2 (PHP >=7.3)
匹配中国🇨🇳大陆手机号码
Submitted by
Akko
-
2 years ago
1
Password regular expression
PCRE2 (PHP >=7.3)
Password should contain at least 8 symbols, one lower case, one upper case and one number. https://owasp.org/www-community/password-special-characters
Submitted by
Tahiaji
-
2 years ago
0
Release and master branches
PCRE2 (PHP >=7.3)
refs/heads/release/1.0.1 refs/heads/master master release/1.0.1
Submitted by
AbdElraouf Sabri
-
2 years ago
(Last modified 2 years ago)
0
Фильтр русских матов
Java 8
оригинал был взят отсюда: https://gist.github.com/imDaniX/8449f40655fcc1b92ae8d756cbca1264 добавил: сучка, трахать, жопа, залупа
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Sparkpost email address local part
PCRE2 (PHP >=7.3)
Tests if string can be used as a valid sparkpost sending email address
Submitted by
MreeP
-
2 years ago
(Last modified 2 years ago)
0
PNRPU STUDY PROJECT CS, lab work 6
PCRE2 (PHP >=7.3)
Definition of the concept of "word" in accordance with the formulation of the problem.
Submitted by
anonymous
-
2 years ago
0
compare lista
PCRE2 (PHP >=7.3)
preciso saber se, os numeros que nao tem nome e igual a algum dos que estao com nome na frente
Submitted by
Silva
-
2 years ago
0
Русские маты
PCRE2 (PHP >=7.3)
Матчит русские маты
Submitted by
piterden
-
2 years ago
(Last modified 2 years ago)
0
Replace 2 or more whitespace
PCRE2 (PHP >=7.3)
Replace 2 or more whitespace
Submitted by
blacksmithop
-
2 years ago
0
number
PCRE2 (PHP >=7.3)
mã số có 8 kí tự bắt đầu từ 17-22 ///^[1]{1}[7-9]{1}\d{6}$|^[2]{1}[0-2]{1}\d{6}$/gmi
Submitted by
anonymous
-
2 years ago
0
CmdLineRaw
PCRE2 (PHP >=7.3)
CmdLineRaw
Submitted by
anonymous
-
2 years ago
0
Syslog
PCRE2 (PHP >=7.3)
Grouping for standard ubuntu server syslog messages.
Submitted by
Jason King
-
2 years ago
0
GF API Scan
PCRE2 (PHP >=7.3)
using gf I wan to scan apis better
Submitted by
Chase Jensen
-
2 years ago
0
group_of_three-with-start-keywords
PCRE2 (PHP >=7.3)
group_of_three-with-start-keywords
Submitted by
Vova Sharaienko
-
2 years ago
0
iCAL v3
PCRE2 (PHP >=7.3)
iCAL
Submitted by
Appenjel
-
2 years ago
(Last modified 2 years ago)
0
Commit Message
PCRE2 (PHP >=7.3)
Commit Message Regex for commit messages used internally at Exe-Squared
Submitted by
anonymous
-
2 years ago
0
C#-ifying classes pasted from JSON
PCRE2 (PHP >=7.3)
When pasting JSON payloads, requests or response as C# classes, the casing of property names is not usually idiomatic C#. This regular expression helps transform the property names while adding System.Text.Json.JsonPropertyName attributes to properties to preserve the original names for serialization.
Submitted by
Gareth James
-
2 years ago
0
add _&_ between numbers
PCRE2 (PHP >=7.3)
adds (space)&(space) between numbers
Submitted by
_
-
2 years ago
1
AsciiDoc delimited block example
Java 8
https://docs.asciidoctor.org/asciidoc/latest/blocks/delimited/
Submitted by
aisbergde
-
2 years ago
(Last modified 2 years ago)
0
AsciiDoc table
Java 8
https://docs.asciidoctor.org/asciidoc/latest/tables/build-a-basic-table/
Submitted by
aisbergde
-
2 years ago
1
...
51
52
53
54
55
...
139
Url
2
Regular Expression
PCRE2 (PHP >=7.3)
/
(
(
(
[
A
-
Za
-
z
]
{3,9}
:
(?:
\/\/
)?
)
(?:
[
-;:&=
\+\$
,
\w
]
+
@
)?
[
A
-
Za
-
z0
-
9.-
]
+
|
(?:
www
.
|
[
-;:&=
\+\$
,
\w
]
+
@
)
[
A
-
Za
-
z0
-
9.-
]
+
)
(
:
[
0
-
9
]
{0,5}
)?
(
#
[
\w
]
*
)?
(
(?:
\/
[
\+
~%
\/
.
\w
\-
_
]
*
)?
\?
?
(?:
[
-
\+
=&;%@.
\w
_
]
*
)
#
?
(?:
[
.
\!\/\\
w
]
*
)
)?
)
/
ig
Open regex in editor
Description
Port
https://regex101.com/library/cX0pJ8
to PCRE2 (PHP >= 7.3)
Submitted by
semivori
-
3 years ago