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
x:y => y x
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Else => } else {
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Else => } else {
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Function => public static
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
block end => } // block end
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
func => tDraw.func
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
func x, x => func (x, x)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Global => public static
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
func x, x => func (x, x)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
VSCode DecorationRenderOptions docs formatting
PCRE (PHP <7.3)
k
Submitted by
anonymous
-
5 years ago
0
Autogen PEH Headend
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Read Music Directory
PCRE (PHP <7.3)
Can be used to read a file with a list of songs or read a directory of songs for the artist, song title, and the songs format. Assuming there are named in that exact order (i.e. Artist - Title.format) Example: demon.devin - deception.mp3
Submitted by
anonymous
-
5 years ago
0
IPv4 and MAC addresses
PCRE (PHP <7.3)
Match tokens that are either IPv4 addresses or MAC addresses (three formats)
Submitted by
anonymous
-
5 years ago
0
if (x=x) => if (x==x)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
email
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Field => public
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
If x; => if (x){
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Extract IIS Site Name and ID From Web-Binding
PCRE (PHP <7.3)
Extract Site Name and ID from the Web-binding information in the ItemXPath field
Submitted by
anonymous
-
5 years ago
0
PASSPORT
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
show interfaces status
Python
no description available
Submitted by
anonymous
-
5 years ago
1
...
353
354
355
356
357
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
(
11
\-
?
001
\-
?
)
(
0
?
[
61
]
\-
?
)?
(
(
[
1
-
9
]
{5,}
|
201
[
7
-
9
]
|
20
[
2
-
9
]
[
0
-
9
]
|
2
[
1
-
9
]
[
2
-
9
]
[
0
-
9
]
)
\-
?
)?
[
0
-
9
]
+
$
/
gm
Open regex in editor
Description
Patrón de validación de un número de comparendo de Bogotá
Submitted by
anonymous
-
5 years ago