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
RA3
Python
calendar
Submitted by
anonymous
-
6 years ago
0
wasstraat
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
wasstraat
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
SQL Injection
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Regex Days Of Humble Beginings
PCRE (PHP <7.3)
i was just trying to match words and assign them to variables that i could later search for in my logs
Submitted by
anonymous
-
6 years ago
0
Regex Days Of Humble Beginings
PCRE (PHP <7.3)
i was just trying to match words and assign them to variables that i could later search for in my logs
Submitted by
anonymous
-
6 years ago
0
Regex Days Of Humble Beginings
PCRE (PHP <7.3)
i was just trying to match words and assign them to variables that i could later search for in my logs
Submitted by
anonymous
-
6 years ago
0
Linux1-4-2-2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Linux1-4-2-2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Linux1-4-2-1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
MC
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
No control characters
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
regex to check string contains two hyphens
ECMAScript (JavaScript)
This should work: ^([a-zA-Z0-9]-[a-zA-Z0-9])+$ Also if you want to have exactly 135 hyphens: ^([a-zA-Z0-9]-[a-zA-Z0-9]){135}$...
Submitted by
anonymous
-
6 years ago
0
th
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Time
ECMAScript (JavaScript)
hh:mm 24
Submitted by
anonymous
-
6 years ago
1
SessionM Target Parsing (WIP)
PCRE (PHP <7.3)
Work in progress Regex transform for parsing SessionM targeting config from YAML
Submitted by
anonymous
-
6 years ago
0
id belgium
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
prepareTicket_closing
Golang
no description available
Submitted by
anonymous
-
6 years ago
0
Ignorer les espaces
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
extract <a> tags from an html page
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
1
...
453
454
455
456
457
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
\b
(?<label>
[
a
-
z0
-
9_
]
\w
*
)
\s
?
(?<selector>
=~
?
|
!
[
=~
]
)
\s
?
"
?
(?<value>
(?<=
"
)
(?:
[^
\\
"
]
|
\\
.
)*
(?=
"
)
|
\w
+
[^
\s
},
]
+
)
/
gmi
Open regex in editor
Description
Recognize valid promQL label\values part of expression
Submitted by
digitok
-
3 years ago
(Last modified 3 years ago)