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
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
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 3 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
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
Track1 credit card dump
ECMAScript (JavaScript)
Captures group that is either AMEX, MC, or Visa with or without start and end sentinels including discretionary data after section for name Does not support 13 digit credit cards, as they are not used anymore. Only allows for 15 digit AMEX and 16 digit Visa or MC
Submitted by
BigDad
-
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
-
3 years ago
(Last modified 3 years ago)
1
ticker but not EFS
PCRE2 (PHP >=7.3)
ticker but not EFS
Submitted by
anonymous
-
3 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
-
3 years ago
1
...
776
777
778
779
780
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
(
https
?
:
)?
\/\/
)?
(
(
[
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)+
(
:
(
[
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)+
)?
@
)?
(
[
\d\w
]
[
-
\d\w
]
{0,253}
[
\d\w
]
\.
)+
[
\w
]
{2,63}
(
:
[
\d
]
+
)?
(
\/
(
[
-+_~.
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)*
)*
(
\?
(
&
?
(
[
-+_~.
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)
=
?
)*
)?
(
#
(
[
-+_~.
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)*
)?
/
gmi
Open regex in editor
Description
check for urls
Submitted by
naxmefy
-
3 years ago