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. Click
here
to read more.
Community Patterns
Search among 15,100 community submitted regex patterns...
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
-
9 days ago
(Last modified 9 days ago)
1
indented lines with continuation
PCRE (PHP <7.3)
Example taken from SO,
Submitted by
anonymous
-
9 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
-
10 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)
-
11 days ago
(Last modified 11 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)
-
11 days ago
(Last modified 11 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)
-
11 days ago
(Last modified 11 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
-
19 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
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
-
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
-
a month 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
2430workshop10
ECMAScript (JavaScript)
2430workshop10
Submitted by
anonymous
-
2 months ago
1
2
3
...
755
NMEA after timestamps
0
Regular Expression
PCRE (PHP <7.3)
/
(
(
[
\!
|
\$
]
)
(
[
\w
]
{1,15}
)
)
(
(?:
,
)
(
[
\w
.
\-\+
]
{0,20}
)
){1,20}
(?:
,
){0,1}
(?:
\*
){0,1}
(
[
A
-
F0
-
9
]
{2}
){0,1}
/
gm
Open regex in editor
Description
Picks up (most?) NMEA messages.
Submitted by
David Harrison
-
a year ago