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 5,680 community submitted regex patterns...
1
Invalid HTML Attribute (Strict)
ECMAScript (JavaScript)
This version of the regex is less permissive than the w3c documentation.. It matches only the common attribute syntax.
Submitted by
bye-csavier
-
a day ago
1
Invalid HTML Attribute (Permissive)
ECMAScript (JavaScript)
This regex is based on the specifications in the w3c documentation. The rules are* very permissive, and some* of this characters actually lead to errors in browsers.
Submitted by
bye-csavier
-
a day ago
1
Invalid CSS Class
ECMAScript (JavaScript)
Checks if the syntax of the passed string would be a valid css class.
Submitted by
bye-csavier
-
2 days ago
(Last modified 2 days 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
-
12 days ago
(Last modified 12 days 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
-
14 days 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)
-
14 days ago
(Last modified 14 days 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)
-
14 days ago
(Last modified 14 days 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)
-
14 days ago
(Last modified 14 days 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
-
23 days 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
-
a month ago
1
Match function declerations in python
Python
This regex will match function declerations in python
Submitted by
danielnachumdev
-
a month 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
-
a month ago
(Last modified a month 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
-
a month 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
-
a month ago
(Last modified a month ago)
1
CSI Breakdown V5
ECMAScript (JavaScript)
Breaks out CSI numbers for proper reformat
Submitted by
anonymous
-
2 months ago
1
DD/MM/YYYY Date with leap years
Python
1000-9999 years '-', ' ', ':', '.', or '/' may be user as divider
Submitted by
furren
-
2 months ago
1
CRAC Question Bank
ECMAScript (JavaScript)
中国无线电协会业余无线电分会业余无线电操作证书 txt 题库格式化
Submitted by
HoshinoSuzumi<master@uniiem.com>
-
2 months ago
(Last modified 2 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
-
2 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
-
2 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
-
2 months ago
1
2
3
...
284
Wire Rebar Mesh Signature
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
%%
[
C,c
]
)
(
[
0
-
9
]
{1,2}
)
(
S
[
0
-
9
]
{3}
)
-
(
[
0
-
9
]
{2,3}
)
\/
(
%%
[
C,c
]
)
(
[
0
-
9
]
{1,2}
)
(
S
[
0
-
9
]
{3}
)
-
(
[
0
-
9
]
{2,3}
)
[
]
+
(
[
0
-
9
]
{2,3}
)
[
x,X,х,Х
]
(
[
0
-
9
]
{2,3}
)
[
]
(
[
0
-
9
]
{2,3}
)
(
[
+
]
[
0
-
9
]
{2,3}
|)
\/
(
[
0
-
9
]
{2,3}
)
/
gm
Open regex in editor
Description
Parsing signature of wire rebar mesh by "ГОСТ 23279-2012"
Submitted by
Anatoliy Zhartun
-
2 years ago