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
Discord GuildEmoji
PCRE2 (PHP >=7.3)
Matches a custom emoji from discord. Group 1: Optional, "a" means animated, a gif. Group 2: Emoji Name. Group 3: Emoji Id;
Submitted by
revelcw
-
2 years ago
1
Capture URL without Query Parameters
ECMAScript (JavaScript)
Capture URL without Query Parameters /^(+).*/gm
Submitted by
anonymous
-
2 years ago
1
wip; 匹配malloc申请的内容和使用的不一致
PCRE2 (PHP >=7.3)
匹配malloc申请的内容和使用的不一致
Submitted by
zyf
-
2 years ago
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
...
278
279
280
281
282
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(
(?:
{"key":"
\+
kBPTyi2qkmZrQ9HSW5DAg==","tp":
(
\d
*
)
,"type":"KEY_DOWN"},
)
|
(?:
{"key":"
\S
{24}
","tp":
\d
*
,"type":"
\w
+
"},
)
)
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago