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 2,560 community submitted regex patterns...
1
match all between quotes
PCRE2 (PHP >=7.3)
this matches everything between quotation marks, the \" can be changed into whatever you need
Submitted by
anonymous
-
2 years ago
1
Sutthinart
PCRE2 (PHP >=7.3)
Private Regex Library
Submitted by
Sutthinart Khunvadhana
-
2 years ago
1
trino kill query ID
PCRE2 (PHP >=7.3)
trino kill query ID
Submitted by
anonymous
-
2 years ago
1
trino kill query
PCRE2 (PHP >=7.3)
trino kill query
Submitted by
anonymous
-
2 years ago
1
Backtracking Test
PCRE2 (PHP >=7.3)
Submitted by
farhan
-
2 years ago
1
Match Windows filename in any path but only C: D: and F: drives
Java 8
Used for Service Discovery in vRealize Operations. Use case is a service that can be installed on any path, but we only want to discover and monitor services installed on standard production drives (C, D or F). Filename will always be the same.
Submitted by
Various
-
2 years ago
0
Feet to inches converter
PCRE2 (PHP >=7.3)
This only works in Google sheets. The test string is a sheets formula that converts feet inches in this into the total number of inches.
Submitted by
randywolf244
-
2 years ago
0
Match Multi groups
PCRE2 (PHP >=7.3)
Match Multi groups
Submitted by
anonymous
-
2 years ago
1
/(# .*)(&𝗐𝖾𝗀𝗈)/𝗀𝗆
PCRE2 (PHP >=7.3)
/(# .*)(&𝗐𝖾𝗀𝗈)/𝗀𝗆
Submitted by
anonymous
-
2 years ago
0
MD h1 change to block with anchor
PCRE2 (PHP >=7.3)
Find any lines starting with # and followed by anchor name with & and wrap it into html so that we start with this: Title &anchor and finish with something like this: ...
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Months (ID/ENG)
PCRE2 (PHP >=7.3)
.
Submitted by
Virtuozs
-
3 years ago
0
Dimensions
PCRE2 (PHP >=7.3)
Regex to match dimensions
Submitted by
intern_of_the_year
-
3 years ago
1
Fetch "text A (text B)" or "text A (text B (text C))"
PCRE2 (PHP >=7.3)
How do I extract then some text A, some text B and some text C if they are in the format some text A ( some text B ( some text C)) Please mind that in some cases may be only some text A ( some text B)...
Submitted by
anonymous
-
3 years ago
0
España - CIF = NIF jurídico (normativa a Sep 2021)
PCRE2 (PHP >=7.3)
Creo que no me he dejado ningún caso. Cuenta también con el caso en que los 2 primeros números son 00, que admite dígito de control de tipo letra sea cual sea la letra inicial (naturaleza jurídica).
Submitted by
Raúl Moreno Bello
-
3 years ago
(Last modified 2 years ago)
0
Email Validation Pattern
Java 8
Email Validation Pattern
Submitted by
Aslam Anver
-
3 years ago
0
Host sanity check
PCRE2 (PHP >=7.3)
Super dumb sanity check for valid host
Submitted by
anonymous
-
3 years ago
1
Email
PCRE2 (PHP >=7.3)
Regex simples para verificação de email
Submitted by
anonymous
-
3 years ago
0
Nextcloud client log line parse
PCRE2 (PHP >=7.3)
Splits the parts of a line in the log of the Nextcloud sync client into usable fragments
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Extracting Multiline Address
PCRE2 (PHP >=7.3)
Extracts multiline address into individual parts
Submitted by
anonymous
-
3 years ago
2
UUID 4
PCRE2 (PHP >=7.3)
Detects any UUID 4 strings
Submitted by
ShadowNox
-
3 years ago
1
...
95
96
97
98
99
...
128
MTR
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
[
0
-
9
]
{2,3}
.
[
0
-
9
]
{1}
.
[
0
-
9
]
{2,3}
.
[
0
-
9
]
{1}
)
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago
(Last modified 2 years ago)