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,000 community submitted regex patterns...
0
Parse OFX date / date-time
PCRE2 (PHP >=7.3)
Parses an Open Financial Exchange date or date-time string as specified in "3.2.8.1 Dates, Times, and Time Zones" of the OFX Banking Specification, Version 2.3 October 2020.
Submitted by
Bryce Marshall
-
2 years ago
(Last modified 2 years ago)
0
3
PCRE2 (PHP >=7.3)
3
Submitted by
anonymous
-
2 years ago
0
1
PCRE2 (PHP >=7.3)
1
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
2
Detect RGB/RGBA colors in CSS
PCRE2 (PHP >=7.3)
JS function to convert RGB(A) to HEX color for single values: /** @param {string} color the RGB(A) color @return {string} the HEX color */ function rgba2hex(color)...
Submitted by
WinterSilence
-
2 years ago
0
Get every first letter of each word
PCRE2 (PHP >=7.3)
Get every first letter of each word
Submitted by
anonymous
-
2 years ago
0
Match 2 Consecutive Characters
PCRE2 (PHP >=7.3)
Matches two consecutive characters. E.g. Applying match to, 'OOOO P' results in matches of, '~O'.
Submitted by
Matthew Hiebing
-
2 years ago
0
joplinapp inline tasks
PCRE2 (PHP >=7.3)
first get: duedate
Submitted by
anonymous
-
2 years ago
0
BIOS
PCRE2 (PHP >=7.3)
/
Submitted by
Pang Chin Pok
-
2 years ago
0
Prefix all classes
ECMAScript (JavaScript)
Prefix all classes
Submitted by
anonymous
-
2 years ago
1
Grab first sentence from multi-line text
PCRE2 (PHP >=7.3)
Using to extract PhpDoc summary. Note: PhpDoc must be trimmed at left (' ' and '*' are removed).
Submitted by
WinterSilence
-
2 years ago
0
Parse binomial expression input
PCRE2 (PHP >=7.3)
Parse the binomial expression input
Submitted by
nil
-
2 years ago
0
大盘响应数据截取
PCRE2 (PHP >=7.3)
"https://finance.sina.com.cn/stock/"的响应数据 格式为-> var hq_str_s_sh000001="上证指数,3094.668,-128.073,-3.97,436653,5458126";
Submitted by
anonymous
-
2 years ago
1
Match range [1 ... 9999.99]
PCRE (PHP <7.3)
This helps matching numbers where decimals are optional
Submitted by
AndrewEastwood
-
2 years ago
0
Extraire les informations du chemin d'une photo
PCRE (PHP <7.3)
Extraire les informations du chemin d'une photo.
Submitted by
Nicolas
-
2 years ago
0
email regex
ECMAScript (JavaScript)
check mail regex
Submitted by
anonymous
-
2 years ago
(Last modified a year ago)
0
mr regexp
ECMAScript (JavaScript)
Рег
Submitted by
anonymous
-
2 years ago
1
Links
PCRE2 (PHP >=7.3)
Beginner way to highlight links
Submitted by
anonymous
-
2 years ago
2
Extract Rapidgator Links from a HTML web page (Works for rg.to and rapidgator.net)
PCRE2 (PHP >=7.3)
Click "open regex in editor" to open regex. Open a webpage containing Rapidgator Links - Either rg.to or rapidgator.net Right-click anywhere on the page and select "view page source" Copy the HTML markup containing the Rapidgator links to regex101.com Paste the HTML markup and set mode to match Loca...
Submitted by
SmartCoder
-
2 years ago
0
Shell multiline parser
ECMAScript (JavaScript)
Partially completed pattern for vscode-highlight
Submitted by
disco0
-
2 years ago
0
Find element with specific attribute (supports multiline element)
ECMAScript (JavaScript)
This will help you find all the v-btn component usage with prop color set to primary.
Submitted by
anonymous
-
2 years ago
1
...
138
139
140
141
142
...
900
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
^
(
[
1
-
9
]
{1}
|
(
0
[
0
-
9
]
|
1
[
0
-
2
]
)
)
\/
(
[
1
-
9
]
{1}
|
0
[
1
-
9
]
|
1
\d
|
2
\d
|
3
[
01
]
)
\/
\d
{2}
$
/
Open regex in editor
Description
Date javascript
Submitted by
petabyte
-
9 years ago