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
Home
Golang
Dj dus er geen je een je aan je enige eerst een he we er
Submitted by
Webmaster
-
2 years ago
1
Time Zone UTC Offsets in actual use for ISO 8601 / RFC 3339 Date Times (Museum of Bad Data)
ECMAScript (JavaScript)
Time Zone UTC Offsets in actual use for ISO 8601 / RFC 3339 Date Times (Museum of Bad Data) https://regex101.com/library/F21Glr Matches only (and every) UTC offset that is in actual use and valid under ISO 8601 and RFC 3339 (Y'know, the '2008-08-08T08:08:08+05:00' looking one, this is the plus/min...
Submitted by
Philip Flip Kromer
-
2 years ago
1
Four-Digit Leap Years post-Y0 (AD/BCE) (Museum of Bad Data)
PCRE2 (PHP >=7.3)
This will match all four-digit years that are leap years, using the "either (multiple of four but not a multiple of 100) OR (multiple of 400)" rule. Explained / ^(...
Submitted by
Philip Flip Kromer
-
2 years ago
(Last modified 2 months ago)
1
Get <NIC>
Python
Get NICs from string
Submitted by
anonymous
-
2 years ago
1
Strong Matcher for ISO 8601 / RFC 3339 Date Times; rejects bad TZ offsets, illegal times (Museum of Bad Data)
ECMAScript (JavaScript)
Handles many nuanced cases around time zone offsets, leap seconds and leap days. References: List of UTC Offsets RFC 3339, the stricter rules that most systems use in practice ISO 8601, the widely known name for this format...
Submitted by
Philip Flip Kromer (@mrflip)
-
2 years ago
1
Riedler's 2nd URL regex
Java 8
why did I make this?
Submitted by
Riedler
-
2 years ago
1
match eslint packages other than next.js
ECMAScript (JavaScript)
This could be used to group eslint stuff in renovate config for a next.js project. Since you're intended to keep eslint-plugin-next at the same version as next itself, you would want to group it with next instead. Using negative lookahead we can ignore eslint-config-next (or anything else you may wi...
Submitted by
Mitsunee
-
2 years ago
(Last modified 2 years ago)
1
Prometheus Exposition metric line
Rust
Prometheus exposition metric line format. Parses metric lines with named capture groups for metric name, labels, value, and timestamp. Excludes comment, type, and help lines. https://prometheus.io/docs/instrumenting/exposition_formats/#line-format
Submitted by
james-jra
-
2 years ago
1
URL Cleaner
PCRE2 (PHP >=7.3)
It just cleans up urls.
Submitted by
anonymous
-
2 years ago
(Last modified a year ago)
1
Wikipedia ISO 4217 (Currency Codes) table to C# enum
.NET 7.0 (C#)
This converts the values in this) table to C# code. Example: pulic enum Iso4217 { /* output here */...
Submitted by
Diemaco
-
2 years ago
1
Clean Date Finder
PCRE2 (PHP >=7.3)
Find dates of multiple formats in a clean way Searchable Formats: -Month day year -Month day, year -Mon day year...
Submitted by
anonymous
-
2 years ago
1
Password validation
ECMAScript (JavaScript)
Password requirements: Contains at least one uppercase letter. Contains at least one lowercase letter. Contains at least one digit. Does not contain any whitespace characters. Has a minimum length of 8 characters.
Submitted by
anonymous
-
2 years ago
1
3 letter word finder
PCRE2 (PHP >=7.3)
finds any 3 letter words in a text
Submitted by
anonymous
-
2 years ago
1
ESET PROTECT Cloud domains (DNS)
PCRE2 (PHP >=7.3)
Match ESET PROTECT Cloud domains for exclusion from DNS logs
Submitted by
kernelmustard
-
2 years ago
1
ESET INSPECT Cloud domains (HTTP)
PCRE2 (PHP >=7.3)
Match ESET INSPECT Cloud domains for exclusion from HTTP logs
Submitted by
kernelmustard
-
2 years ago
(Last modified 2 years ago)
1
ESET DNS Load Balancer domains (DNS)
PCRE2 (PHP >=7.3)
Match ESET DNS Load Balancer domains for exclusion from DNS logs
Submitted by
kernelmustard
-
2 years ago
1
TH̘Ë͖́̉ ͠P̯͍̭O̚N̐Y̡ H̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟Oͮ͏̮̪̝͍M̲̖͊̒ͪͩͬ̚̚͜Ȇ̴̟̟͙̞ͩ͌͝S̨̥̫͎̭ͯ̿̔̀ͅ
Python
This would appear to violate the premise of this famous StackOverflow answer, however this is not parsing as such, only matching or heuristic identification. Technically, all text is HTML if served to a browser in such a way that the browser chooses to interpret it that way, e.g. using a text/html ...
Submitted by
Alice Bevan-mcgregor
-
2 years ago
1
all email types
PCRE2 (PHP >=7.3)
work@ing.yes
Submitted by
Stormyz
-
2 years ago
1
check simple code
PCRE2 (PHP >=7.3)
Check simple codes between 1 and 5 numbers: 281, 81992, 18, 829a7, 8299192
Submitted by
Stormyz
-
2 years ago
1
Emails regex
PCRE2 (PHP >=7.3)
This regex will validate pretty much every mail that could exist. It allows aliases and tags in the mail, therefore the mail can contain one or more dots and/or "+" signs (Exemple: exemple.test.alias+tag+tag2). It also allows Internationalized Domain Names (IDNs) (Exemple: @café.com), subdomains (Ex...
Submitted by
Skyle
-
2 years ago
(Last modified 2 years ago)
1
...
788
789
790
791
792
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
0,
(?!
0,
)
[^
,
]
+
,1,
(?!
0
)
[^
,
]
+
$
/
gm
Open regex in editor
Description
Tertiary Junction Power Detection
Submitted by
anonymous
-
3 years ago