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 15,120 community submitted regex patterns...
1
Invalid CSS Class
ECMAScript (JavaScript)
Checks if the syntax of the passed string would be a valid css class.
Submitted by
bye-csavier
-
a month ago
(Last modified a month ago)
1
Date and age matcher
Python
matches strings like: "01/04/2023", "14/May/24" and "20" (age). WARNING: for american dates swap day and month! Groups: Date - the whole date Day - day Month - month...
Submitted by
OlgPok
-
a month ago
(Last modified a month ago)
1
indented lines with continuation
PCRE (PHP <7.3)
Example taken from SO,
Submitted by
anonymous
-
a month ago
1
match html and xml brackets (<>) and all their content. It doesn’t match inner text.
ECMAScript (JavaScript)
match html and xml brackets () and all their content. It doesn’t match inner text. Useful to remove markup tags from a xml or html string, leaving only the text.
Submitted by
Emasoft
-
a month ago
1
linuxserver tags for renovate
ECMAScript (JavaScript)
Match: linuxserver/prowlarr:1.16.2.4435-ls67 1.16.2.4435-ls67 linuxserver/radarr:5.4.6.8723-ls215...
Submitted by
Yevhen Kolomeiko (Sad-Soul-Eater)
-
a month ago
(Last modified a month ago)
1
Traefik plugins in traefik-ingress helm values for renovate bot
ECMAScript (JavaScript)
Match: plugins: plugin-name: { moduleName: github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin, version: v1.3.0 } plugins:...
Submitted by
Yevhen Kolomeiko (Sad-Soul-Eater)
-
a month ago
(Last modified a month ago)
1
VictoriaMetrics operator image for renovate bot
ECMAScript (JavaScript)
Match: image: { repository: user_name-123/repo_name-123, tag: v1.23.45_amd64-cluster } image: repository: "user_name-123/repo_name-123"...
Submitted by
Yevhen Kolomeiko (Sad-Soul-Eater)
-
a month ago
(Last modified a month ago)
1
remove gnu license information
ECMAScript (JavaScript)
this is just for the sake of creating documentation or working with a lot of files that all contain this license i just needed to remove them, in order to reduce the size of the overall files
Submitted by
TheonlyAquarius
-
2 months ago
1
E-mail validation regex
Python
For Culver City Learn Teach Code 4/16/24 Regex obtained from: https://stackoverflow.com/a/21608456/2683447 List is subset taken from: https://gist.github.com/cjaoude/fd9910626629b53c4d25
Submitted by
anonymous
-
2 months ago
1
Match function declerations in python
Python
This regex will match function declerations in python
Submitted by
danielnachumdev
-
2 months ago
1
password regex (strict)
ECMAScript (JavaScript)
Synopsis The subject password must fullfill several criterias to ensure it's have an acceptable level of minimal security. Success criterias contains at least 1 number (0-9) contains at least 1 uppercase letters...
Submitted by
Soma Szelpal
-
2 months ago
(Last modified 2 months ago)
1
Renamer Log file to CSV
PCRE (PHP <7.3)
Catches our log files renamed file names and adds them to CSV file
Submitted by
anonymous
-
2 months ago
1
Simple EIN (Employee Identification Number) format
ECMAScript (JavaScript)
An Employer Identification Number (EIN) is also known as a Federal Tax Identification Number, and is used to identify a business entity. Generally, businesses need an EIN. It expects 2 digits at start, then a dash ('-') and then 7 digits. No assumptions regarding the allowed prefixes, etc.
Submitted by
@uazure
-
2 months ago
1
Number Expr
ECMAScript (JavaScript)
A "raw" expression matching numbers; anything from a simple 123 to -123,456.78e90 will be matched. Note: this may be vulnerable to ReDoS attacks when long multiline entries are available & a few hundered (or thousand depending on the length of the input) steps is a problem; check the Regex Debugger...
Submitted by
expo.moe
-
2 months ago
(Last modified 2 months ago)
1
CSI Breakdown V5
ECMAScript (JavaScript)
Breaks out CSI numbers for proper reformat
Submitted by
anonymous
-
3 months ago
1
DD/MM/YYYY Date with leap years
Python
1000-9999 years '-', ' ', ':', '.', or '/' may be user as divider
Submitted by
furren
-
3 months ago
1
CRAC Question Bank
ECMAScript (JavaScript)
中国无线电协会业余无线电分会业余无线电操作证书 txt 题库格式化
Submitted by
HoshinoSuzumi<master@uniiem.com>
-
3 months ago
(Last modified 3 months ago)
1
Email Format Check
ECMAScript (JavaScript)
This regex can check if the email format is valid. Feels free to use it
Submitted by
AkashiDom
-
3 months ago
1
PGP-encrypted message (v2)
ECMAScript (JavaScript)
A javascript regex for a pgp-encrypted message, including optional armor, headers, and checksum. Feel free to make improvements if you think I'm missing something from the spec: https://www.rfc-editor.org/rfc/rfc4880#section-6.2
Submitted by
anonymous
-
3 months ago
1
PGP-encrypted message
ECMAScript (JavaScript)
A Javascript regex for a PGP-encrypted message, including optional armor, valid headers, and checksum.
Submitted by
Adroit
-
3 months ago
1
2
3
4
...
756
Special GPS input
0
Regular Expression
Python
r"
^
(
-
?
(
(
[
0
-
8
]
?
\d
(
\.
\d
{1,6}
)?
)
|
(
90
(
\.
0
{1,6}
)?
)
)
)
:
(
-
?
(
(
\d\d
?
(
\.
\d
{1,6}
)?
)
|
(
1
[
0
-
7
]
\d
(
\.
\d
{1,6}
)?
)
|
(
180
(
\.
0
{1,6}
)?
)
)
)
(
:
(
-
?
\d\d
?
(
\.
\d
{1,6}
)?
)
)?
(
#
(
\d\d
?
(
\.
\d
{1,6}
)?
)
)?
(
_
(
\d\d
?
(
\.
\d
{1,6}
)?
)
)?
$
"
gm
Open regex in editor
Description
Used for TrigDroid
Submitted by
anonymous
-
a year ago