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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 13,960 community submitted regex patterns...
1
trino kill query ID
PCRE2 (PHP >=7.3)
trino kill query ID
Submitted by
anonymous
-
3 years ago
1
trino kill query
PCRE2 (PHP >=7.3)
trino kill query
Submitted by
anonymous
-
3 years ago
1
ss001
Python
Rep
Submitted by
anonymous
-
3 years ago
1
Backtracking Test
PCRE2 (PHP >=7.3)
Submitted by
farhan
-
3 years ago
0
Ssi
PCRE (PHP <7.3)
alphabetically Scripted
Submitted by
MGB
-
3 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
-
3 years ago
0
URL trailing slash check
PCRE (PHP <7.3)
This determines if URL has trailing slash
Submitted by
randywolf244
-
3 years ago
0
Capture Groups with back references
PCRE (PHP <7.3)
Extracting the variable names, e.g. (DOB_TT, OSTATE, etc) by setting up capture groups and extracting the 5th capture group
Submitted by
anonymous
-
3 years ago
0
Grabbing inside quotes for Google Sheets
PCRE (PHP <7.3)
Sheets treats quote marks weird since that's a character used in formulas. This is the remedy for that. It does not work in the editor. This only works in Google Sheets
Submitted by
randywolf244
-
3 years ago
0
Extract root domain from URL
PCRE (PHP <7.3)
It will extract the root domain from any URL. This includes removing subdomains, www. and the slug.
Submitted by
randywolf244
-
3 years ago
0
Array shape documentation
Python
Matches array shape documentation comments.
Submitted by
anonymous
-
3 years ago
0
Match Multi groups
PCRE2 (PHP >=7.3)
Match Multi groups
Submitted by
anonymous
-
3 years ago
0
Excel ABS, SUM, AVG
Python
test
Submitted by
anonymous
-
3 years ago
0
Capture variable
Python
test
Submitted by
anonymous
-
3 years ago
1
/(# .*)(&𝗐𝖾𝗀𝗈)/𝗀𝗆
PCRE2 (PHP >=7.3)
/(# .*)(&𝗐𝖾𝗀𝗈)/𝗀𝗆
Submitted by
anonymous
-
3 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
-
3 years ago
(Last modified 3 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 3 years ago)
1
...
126
127
128
129
130
...
698
Capture variable
0
Regular Expression
Python
r"
\{
(
(?:
[
A
-
Za
-
z
]
)+
)
\}
"
gm
Open regex in editor
Description
test
Submitted by
anonymous
-
3 years ago