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
Extract URI from text copy
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
AN check
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Ts to jsdoc
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
IPV4
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Avoid Extra Spaces
PCRE (PHP <7.3)
Avoid Extra Spaces from https://medium.com/factory-mind/regex-cookbook-most-wanted-regex-aa721558c3c1
Submitted by
anonymous
-
5 years ago
0
HTML Tags
PCRE (PHP <7.3)
HTML Tags from https://medium.com/factory-mind/regex-cookbook-most-wanted-regex-aa721558c3c1
Submitted by
anonymous
-
5 years ago
0
Hexadecimal value
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Valid email (RFC5322)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Username (simple)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Strong password
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Bank account number
ECMAScript (JavaScript)
3 to 12 digits in length only
Submitted by
anonymous
-
5 years ago
0
Strong password
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
2 of a kind
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
IPv4 address
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
“Defanged” URL or IPv4 address
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Assembler Instruction
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
ms-style-html
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
ms-style-txt
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
investigator_Name_Tier
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Find first slash in path
PCRE (PHP <7.3)
no description available
Submitted by
#madeux
-
5 years ago
1
...
274
275
276
277
278
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
(
(?:
)*
)
.
+
(?:
\n
\1
(
(?:
)+
)
.
*
)
(?:
\n
\1
(?:
(?:
)+
)
.
*
)*
/
gm
Open regex in editor
Description
group 1: base indent group 2: indentation spaces
a very generic code capturer
Submitted by
anonymous
-
5 years ago