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
url matcher 2.0
PCRE2 (PHP >=7.3)
now matches any protocol, as well as username, password, query and fragment. query is not split
Submitted by
Mitsunee
-
2 years ago
0
Country Codes (Alpha 2 and Alpha 3)
PCRE2 (PHP >=7.3)
Country Code Classifier ISO 3166-1 alpha-2 codes are two-letter country codes defined in ISO 3166-1, part of the ISO 3166 standard published by the International Organization for Standardization (ISO), to represent countries, dependent territories, and special areas of geographical interest. They ar...
Submitted by
loganmcampbell
-
2 years ago
0
Hesla ISJ
Python
ISJ
Submitted by
anonymous
-
2 years ago
0
100-4300
Python
match 100, 200, 300 upto 4300
Submitted by
anonymous
-
2 years ago
0
webforms detection
PCRE2 (PHP >=7.3)
Rule to identify web form collections
Submitted by
Pandurang Patil
-
2 years ago
0
async calls in foreach
PCRE2 (PHP >=7.3)
async calls in foreach loop, search by await keyword found in foreach
Submitted by
mmateeva
-
2 years ago
0
0及最多6位正负整数
ECMAScript (JavaScript)
1、匹配6位以内正负整数 2、可以匹配0 有效例子 0 21...
Submitted by
anonymous
-
2 years ago
0
Firstname Lastname (Western alphabet)
PCRE2 (PHP >=7.3)
A regular expression to validate Firstname Lastname, supports multiple names, de, le, O',L',l',d', prefixes.
Submitted by
remedio
-
2 years ago
0
Unicode Hexadecimal
Rust
Find hexadecimal numbers using Extended Unicode Support.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
-1
Matching un-wrapped HTML & CSS code blocks in Markdown
ECMAScript (JavaScript)
PATTERNS RegEx Flavour ECMAScript (JavaScript, ActionScript, TypeScript, etc.) ...
Submitted by
anonymous
-
2 years ago
0
Clean up Scribd quote
PCRE2 (PHP >=7.3)
Scribd is a great resource for reading more than you would be able to otherwise, but the app sucks. And in particular, it sucks if you want to copy your highlights to another app, because it automatically adds the book, author, and a link to Scribd with every copy. This regex simple eliminates all ...
Submitted by
derBingle
-
2 years ago
0
Sonepar - BW5 Service Mapping
PCRE2 (PHP >=7.3)
Common Mapping
Submitted by
anonymous
-
2 years ago
0
MARKDOWN title reader
PCRE2 (PHP >=7.3)
matches the titles from a markdown starting with # i.e. Campaign uploader {#15mins-campaign-uploader}
Submitted by
Deepak O
-
2 years ago
0
Special Chars
PCRE2 (PHP >=7.3)
Exclude special chars with exceptions
Submitted by
anonymous
-
2 years ago
1
Riedler's 2nd URL regex
Java 8
why did I make this?
Submitted by
Riedler
-
2 years ago
0
Proventos Rico
PCRE2 (PHP >=7.3)
Extrair informações do arquivo de proventos da corretora Rico.
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
Get <NIC>
Python
Get NICs from string
Submitted by
anonymous
-
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 a month ago)
1
...
57
58
59
60
61
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
0
/
gm
Open regex in editor
Description
Codegolf submission
Submitted by
PlaceReporter99
-
2 years ago
(Last modified 2 years ago)