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...
1
srt
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
Task 1
PCRE (PHP <7.3)
no description available
Submitted by
Kovalev Evgeny
-
11 years ago
1
Strip ANSI escape characters
Python
no description available
Submitted by
anonymous
-
11 years ago
1
Test Listing Parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
Find UnCommented Console. Code
ECMAScript (JavaScript)
no description available
Submitted by
Jay Johnson
-
11 years ago
1
Parse drupal version info from filename
PCRE (PHP <7.3)
no description available
Submitted by
Jason Smith
-
11 years ago
1
ArcSight Administrator
PCRE (PHP <7.3)
It's to activate when storage space reaches 75% capacity
Submitted by
Michal Starr
-
11 years ago
1
Inside single quotes, escape aware
PCRE (PHP <7.3)
Allows the single quote to be escaped, handles the \\' situation
Submitted by
Robin
-
11 years ago
1
Grab double or single quoted text, escape aware
PCRE (PHP <7.3)
^$ are only added for the test cases, handles escapes and the closing \\" situation
Submitted by
robin
-
11 years ago
1
javascript variable
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
1
background:url
PCRE (PHP <7.3)
no description available
Submitted by
Mitus M.
-
11 years ago
1
gk
PCRE (PHP <7.3)
wertyuikjh
Submitted by
hjk
-
11 years ago
1
css all comments
PCRE (PHP <7.3)
no description available
Submitted by
Mitus M.
-
11 years ago
1
dsf
ECMAScript (JavaScript)
no description available
Submitted by
fdsfdsfdsf
-
11 years ago
1
get all title value && all the text in <a/>
PCRE (PHP <7.3)
no description available
Submitted by
Kerosene
-
11 years ago
1
select stuff of </a> [beta]
PCRE (PHP <7.3)
no description available
Submitted by
Kerosene
-
11 years ago
1
myregex
PCRE (PHP <7.3)
no description available
Submitted by
shakti
-
11 years ago
1
Check fr date format
PCRE (PHP <7.3)
no description available
Submitted by
Kerosene
-
11 years ago
1
IPv4 extraction
Python
no description available
Submitted by
Jacob
-
11 years ago
1
gh
ECMAScript (JavaScript)
no description available
Submitted by
ghb
-
11 years ago
1
...
579
580
581
582
583
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
(?:
(?:
\/\/
)
|
(?:
\/\*
)
|
(?:
<!--
)
)?
(?:
[
\s
]
*
?
#region
)
(?:
(
[
\s\S
]
*
?
)
(?:
(?:
[
\s
]
*
?
\*\/
)
|
(?:
-->
)
)?
[
\n\r
]
)
(
[
\s\S
]
*
?
)
(?:
(?:
\/\/
\s
*
?
)
|
(?:
\/\*
)
|
(?:
<!--
)
)?
(?:
[
\s
]
*
?
#endregion
)
(?:
[
\s\S
]
*
?
[
\n\r
]
)
(?:
[
\s\S
]
*
?
)
(?:
(?:
-->
)
|
(?:
\*\/
)?
)
/
gmi
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago