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
IsInterface
PCRE (PHP <7.3)
This regex will match the interface definition withing the cs file
Submitted by
Gabriel Marius Popescu
-
7 years ago
1
Unix ANSI escape codes
PCRE (PHP <7.3)
Unix ANSI escape codes Hi , in my Terminal project in want a method to find (Unix ANSI escape codes) and run its command. For More information : https://en.wikipedia.org/wiki/ANSI_escape_code...
Submitted by
Shahin Pendar , shahinpendar@gmail.com
-
7 years ago
0
红胆拖蓝二段
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
Match all js/jsx/ts/tsx files except TS definition files
ECMAScript (JavaScript)
Match all js/jsx/ts/tsx files except TS definition files
Submitted by
gabro
-
7 years ago
0
Regex afirmacion español
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
Email Regular Expresion
PCRE (PHP <7.3)
Full email regex
Submitted by
anonymous
-
7 years ago
0
regex L7
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Block any TLD between 5 and 24 chars but exclude .world TLD
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
IsClass
PCRE (PHP <7.3)
This regex will match the class definition withing the cs file
Submitted by
Gabriel Marius Popescu
-
7 years ago
0
IsClass
PCRE (PHP <7.3)
This regex will match the class definition withing the cs file
Submitted by
Gabriel Marius Popescu
-
7 years ago
0
Digital Object Identifier (DOI)
ECMAScript (JavaScript)
Based on https://stackoverflow.com/questions/26313315/regex-to-match-doi-in-pdf-with-pypdf2
Submitted by
Tony Adams
-
7 years ago
0
Parse snapshot filenames
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
resource
ECMAScript (JavaScript)
Acceptable resources
Submitted by
anonymous
-
7 years ago
0
Simple Atuhority URI Identifyer
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Windows Hostname Validator
ECMAScript (JavaScript)
Windows Hostname Validator
Submitted by
anonymous
-
7 years ago
0
Extracting Location Name from Task Titles
PCRE (PHP <7.3)
no description available
Submitted by
Me
-
7 years ago
0
Host from URL
PCRE (PHP <7.3)
Pulling host domain from URL that can be in any format (protocol listed or not, path listed or not, IPv4 or 6 addresses, port)
Submitted by
Drew G
-
7 years ago
0
Validate App Proxy Url
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
Contraseña Fuerte
PCRE (PHP <7.3)
Valida que la contraseña deba estar compuesta por una mayúscula, minúscula y números con un rango de caracteres desde 8 hasta 16 dígitos. Ejemplo Aropd123 Argpd 123
Submitted by
Nelson Wandurraga
-
7 years ago
1
...
575
576
577
578
579
...
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