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. Click
here
to read more.
Community Patterns
Search among 2,700 community submitted regex patterns...
0
AsciiDoc line comment
PCRE2 (PHP >=7.3)
https://docs.asciidoctor.org/asciidoc/latest/comments/
Submitted by
aisbergde
-
2 years ago
0
AsciiDoc attribute definition
PCRE2 (PHP >=7.3)
https://docs.asciidoctor.org/asciidoc/latest/attributes/attribute-entries/
Submitted by
aisbergde
-
2 years ago
0
Attribute reference
PCRE2 (PHP >=7.3)
https://docs.asciidoctor.org/asciidoc/latest/attributes/attribute-entries/
Submitted by
aisbergde
-
2 years ago
0
Auth.log Parsing
PCRE2 (PHP >=7.3)
Parses the auth log on standard linux machines into useful groups.
Submitted by
Jason King
-
2 years ago
(Last modified 2 years ago)
0
json-extract
PCRE2 (PHP >=7.3)
eee
Submitted by
anonymous
-
2 years ago
0
Match CSS Gradients
PCRE2 (PHP >=7.3)
Match CSS Gradients
Submitted by
Sean Dellis
-
2 years ago
(Last modified 2 years ago)
0
HTML Figure Caption German
PCRE2 (PHP >=7.3)
Finds paragraph with German "Bild # ..." and replaces it with HTML expressions for figure and figure caption surrounding it.
Submitted by
Hans Kannewitz
-
2 years ago
(Last modified 2 years ago)
0
add _&_ between numbers
PCRE2 (PHP >=7.3)
adds (space)&(space) between numbers
Submitted by
_
-
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
Commit Message
PCRE2 (PHP >=7.3)
Commit Message Regex for commit messages used internally at Exe-Squared
Submitted by
anonymous
-
2 years ago
0
iCAL v3
PCRE2 (PHP >=7.3)
iCAL
Submitted by
Appenjel
-
2 years ago
(Last modified 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
GF API Scan
PCRE2 (PHP >=7.3)
using gf I wan to scan apis better
Submitted by
Chase Jensen
-
2 years ago
0
Syslog
PCRE2 (PHP >=7.3)
Grouping for standard ubuntu server syslog messages.
Submitted by
Jason King
-
2 years ago
0
CmdLineRaw
PCRE2 (PHP >=7.3)
CmdLineRaw
Submitted by
anonymous
-
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
Replace 2 or more whitespace
PCRE2 (PHP >=7.3)
Replace 2 or more whitespace
Submitted by
blacksmithop
-
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
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
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)
1
...
102
103
104
105
106
...
135
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