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...
1
trino kill query
PCRE2 (PHP >=7.3)
trino kill query
Submitted by
anonymous
-
3 years ago
1
trino kill query ID
PCRE2 (PHP >=7.3)
trino kill query ID
Submitted by
anonymous
-
3 years ago
1
Sutthinart
PCRE2 (PHP >=7.3)
Private Regex Library
Submitted by
Sutthinart Khunvadhana
-
3 years ago
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
-
3 years ago
1
matches commas not before, after or between digits
PCRE2 (PHP >=7.3)
this matches all commas except for ones that are next to a digit in some way. change the , or \d or \D according to needs
Submitted by
anonymous
-
3 years ago
1
Conteúdo de Tag
PCRE2 (PHP >=7.3)
Captura o conteúdo do Lang do Twig. Serve pra qualquer conteúdo de tags.
Submitted by
Marcelo Gomes
-
3 years ago
1
Email Address subdomains support
ECMAScript (JavaScript)
It checks email addresses supporting subdomains name@gmail.com name.surname@fda.gov name_surmna05@kernel.org name-surname@redaktion.derspiegel.de...
Submitted by
anonymous
-
3 years ago
1
11
Java 8
11
Submitted by
11
-
3 years ago
1
Parse URLs
Python
A regular expression to parse URLs. Complete with comments.
Submitted by
D. Torres
-
3 years ago
1
Currency amount validation with sign (cents optional)
ECMAScript (JavaScript)
Allows Number: Currency amount US (cents optional) Can use US-style 123,456.78 notation Optional thousands separators; optional two-digit fraction; commas; dollar sign
Submitted by
NatZol
-
3 years ago
1
1
ECMAScript (JavaScript)
1
Submitted by
anonymous
-
3 years ago
1
Match anything under $15.99
PCRE2 (PHP >=7.3)
^\-?\$0-1+(\.[0-9]{2,2})?$|^\-?\$[0-5]+(\.[0-9]{2,2})?$
Submitted by
https://square.to
-
3 years ago
1
Remove HTML tags and comments
Python
Remove HTML tags and comments
Submitted by
Smit Patel
-
3 years ago
1
Password stronger
PCRE2 (PHP >=7.3)
This regex will validate your password To be stronger, the password must be contain: At least 8 characters At least 1 number...
Submitted by
Rafael Paciência
-
3 years ago
1
Splunk log regex
PCRE2 (PHP >=7.3)
regex to parse space separated log message from splunk test string ugi=flink ip=172.18.214.55 cmd=source:172.18.214.55 alter_table: hive.net_seed.netdebugnetworkconnectionstatereadysnapshotcapturedevent newtbl=netdebugnetworkconnectionstatereadysnapshotcapturedevent ugi=root ip=172.19.212.146 cmd=s...
Submitted by
Steve Zhang
-
3 years ago
1
Parse Kubernetes Resource URI Paths
Golang
This regex extracts Kubernetes Resource URIs. Copyright 2021 Mathew Wicks Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License....
Submitted by
Mathew Wicks
-
3 years ago
1
Monkaa Dataset
Python
Parses Monkaa dataset filenames and extracts all the relevant labels
Submitted by
IP
-
3 years ago
1
Split Base64
PCRE2 (PHP >=7.3)
-
Submitted by
anonymous
-
3 years ago
1
Inverse Brainfuck Regex
PCRE2 (PHP >=7.3)
Regex to select everything except brainfuck symbols.
Submitted by
rex0515
-
3 years ago
1
Brainfuck Regex
PCRE2 (PHP >=7.3)
Regex to select every brainfuck symbol.
Submitted by
rex0515
-
3 years ago
1
...
797
798
799
800
801
...
902
Community Library Entry
0
Regular Expression
Python
r"
(
typedef
\s
+
)?
(?P<PACKED>
\w
+
)?
\s
*
(?P<TYPE>
union
|
struct
|
enum
)
\s
+
(?P<NAME2>
\w
+
)
\s
*
\{
(?P<FIELDS>
.
*
?
(?:
\{
.
*
?
\}
.
*
?
)*
?
)
\}
(?P<NAME>
[^
;
]
*
)
;
"
sg
Open regex in editor
Description
test struct c regex
Submitted by
anonymous
-
3 years ago