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
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 4,640 community submitted regex patterns...
0
Partial Date
PCRE2 (PHP >=7.3)
Partial date
Submitted by
anonymous
-
2 years ago
0
regex-input-number
PCRE2 (PHP >=7.3)
regex-input-number
Submitted by
me
-
2 years ago
0
find abc in string
PCRE2 (PHP >=7.3)
first test
Submitted by
anonymous
-
2 years ago
0
时间
Java 8
时间
Submitted by
旧信
-
2 years ago
0
simulate to event
PCRE2 (PHP >=7.3)
simulate to event
Submitted by
anonymous
-
2 years ago
0
simulate to event
PCRE2 (PHP >=7.3)
simulate to event
Submitted by
anonymous
-
2 years ago
0
simulate to event
PCRE2 (PHP >=7.3)
simulate to event
Submitted by
anonymous
-
2 years ago
0
Remove Hatena blog keyword
PCRE2 (PHP >=7.3)
Remove Hatena blog keyword
Submitted by
anonymous
-
2 years ago
0
iCalendar property parsing
Python
parses property strings as used by iCalendar. Kinda.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Fixed Email Regex (emailregex.com)
Java 8
An email regex that allows for capitals after the final dot (ie. TEST@GMAIL.COM)
Submitted by
anonymous
-
2 years ago
1
Regex of name or a firstname
PCRE2 (PHP >=7.3)
Format detected: "Jean" OR "Jean-Pierre" OR "Jean-Marie-Pierre"...
Submitted by
Massinissa CHAOUCHI
-
2 years ago
0
Remove ANSI escape codes
Python
Remove ANSI escape codes
Submitted by
anonymous
-
2 years ago
0
嵌入条件
PCRE2 (PHP >=7.3)
嵌入条件
Submitted by
anonymous
-
2 years ago
0
Ipv4 validation
PCRE2 (PHP >=7.3)
regex for ip validation
Submitted by
Amper
-
2 years ago
0
Split The Phone Numbers
PCRE2 (PHP >=7.3)
Split The Phone Numbers
Submitted by
anonymous
-
2 years ago
0
Capture Data between 2 slashes
PCRE2 (PHP >=7.3)
Capture Data between 2 slashes
Submitted by
Sarnath Jegadeesan
-
2 years ago
0
Python program to match if two words from a list of words starting with letter 'P'.
Python
Python program to match if two words from a list of words starting with letter 'P'.
Submitted by
anonymous
-
2 years ago
0
FiveM cfx.re/join Link Regex
Python
Matches any valid cfx.re/join/ links.
Submitted by
Johnny_JTH
-
2 years ago
1
Website validation
PCRE2 (PHP >=7.3)
This regex is for validating website url Only accept http and https With or without www With or without subdomain .com or dot any With any sub path...
Submitted by
anonymous
-
2 years ago
0
Regex to flag the word "pharmafia"
Python
Useful for forum moderators looking to flag variations of the word "pharmafia" in comments. captures the following variations: pharmafia ph4rm4f14 phar_mafia phar-mafia
Submitted by
tychopotts
-
2 years ago
1
...
75
76
77
78
79
...
232
PromQL - label\values
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
-
2 years ago
(Last modified 2 years ago)