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 14,180 community submitted regex patterns...
1
Brainfuck Regex
PCRE2 (PHP >=7.3)
Regex to select every brainfuck symbol.
Submitted by
rex0515
-
3 years ago
1
Parser for GPG search-key output
PCRE2 (PHP >=7.3)
Record the output of the batch gpg --search-keys commands into variables. For example, get the public key ids or those with *.amazon.com email addresses: pubkeyids=$(gpg --batch --keyserver hkp://keyserver.ubuntu.com --search-keys amazon.com 2>&1 | grep -Po '\d+\sbit\s\S+\skey\s+' | cut -d' ' -...
Submitted by
mavaddat
-
3 years ago
1
SML Structure
PCRE2 (PHP >=7.3)
This i suggest match the sml structure. Use it wisely, I made it just for fun!
Submitted by
Shoaiyb Sysa
-
3 years ago
(Last modified 3 years ago)
1
Github URI Validator
PCRE2 (PHP >=7.3)
Validate Github URI
Submitted by
Shoaiyb Sysa
-
3 years ago
(Last modified 2 years ago)
1
Web wikilinks
PCRE2 (PHP >=7.3)
[[plain wikilinks]] [[first tag]] [[meta on first tag]] [[first tag + meta + container]] [[first tag + meta + container + third tag]] [[forgot a bracket...
Submitted by
Evan Boehs
-
3 years ago
1
match INTEGER val in range [0 ,32767] for unsigned val and [-32768,-1] for signed val
Python
"(^-?)(3276[0-8]$|327[0-5]?[0-9]$|320-6?[0-9]$|3[0-1]?[0-9]?[0-9]?[0-9]$|[0-2]?[0-9]?[0-9]?[0-9]?[0-9]$)"gm
Submitted by
issam-seghir
-
3 years ago
(Last modified 3 years ago)
1
Save everything between <code>...</code> brackets
PCRE (PHP <7.3)
This is what I created to paste in web page source code and regex to extract content between whichever HTML brackets that I choose.. In this case, it's the HTML brackets.
Submitted by
https://dug.to
-
3 years ago
1
Extract everything between TD brackets
PCRE (PHP <7.3)
This is used to extract everything between TD brackets.
Submitted by
<a href="https://www.dug.to">Regex101</a>
-
3 years ago
1
Screencast.com video url regex
PCRE (PHP <7.3)
Screencast.com video url regex
Submitted by
anonymous
-
3 years ago
1
GitHub bare url to org/repo Markdown
PCRE2 (PHP >=7.3)
Convert a bare url into organization/repo format in a Markdown link.
Submitted by
anonymous
-
3 years ago
0
SysaCMS Log Scheme
PCRE (PHP <7.3)
SysaCMS (Still under development) is a php content management system.
Submitted by
Shoaiyb Sysa
-
3 years ago
0
My html tag regex
Python
My html tag regex
Submitted by
anonymous
-
3 years ago
1
Array Expressions
PCRE2 (PHP >=7.3)
Array Expressions Expresiones validas de array para el atributos Value de los componentes tipo texto del editor grafico de VeriTran
Submitted by
Sebastian Ardila Agudelo
-
2 years ago
(Last modified 2 years ago)
1
ticker but not EFS
PCRE2 (PHP >=7.3)
ticker but not EFS
Submitted by
anonymous
-
2 years ago
1
IPv4 + TCP-Port
Java 8
This regex matches a IPv4 with a TCP Port (1-65535) Example: 192.168.0.69:1337 will match and have the groups: Group 1: 192.168.0.69 Group 2: 1337
Submitted by
SIMULATAN
-
2 years ago
1
Strong Password
PCRE2 (PHP >=7.3)
Support JS and PHP
Submitted by
jodi@nusantarabetastudio.com
-
2 years ago
1
CSV quotation mark
PCRE2 (PHP >=7.3)
See quotes that are not delimiters
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Last 4 charecters
PCRE2 (PHP >=7.3)
This regex allows you to access the last 4 charecters in a string and manipulate them however you want
Submitted by
anonymous
-
2 years ago
1
Worlde helper
PCRE2 (PHP >=7.3)
simple, just adjust that: contains letters "l z n" (probably can be simplified but I dont know how) exlude anywhere "rtuasgc" dictionary taken from wordle JS file
Submitted by
anonymous
-
2 years ago
0
Italian phone number regex
PCRE (PHP <7.3)
Italian phone number reg
Submitted by
Ali Babayev
-
2 years ago
1
...
241
242
243
244
245
...
709
Extracting data from Authorization header
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
[
a
-
zA
-
Z0
-
9
\\
-
_
]
+
)
=
(
(
(
[
"'
]
)
(
(
\\
{2}
)*
|
(
.
*
?
[^
\\
]
(
\\
{2}
)*)
)
\4
)
|
[^
\s
,
]
+
)
[
,[
\s
]
*
]
?
/
mgiu
Open regex in editor
Description
Handful regex for parsing Authorization, WWW-Authenticate etc. headers
Submitted by
Alex Furnica
-
a year ago