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.
Become a sponsor today!
Community Patterns
Search among 2,820 community submitted regex patterns...
0
text between two parameters
PCRE2 (PHP >=7.3)
the gray ones are the wanted parameters
Submitted by
anonymous
-
2 years ago
-1
slug numeric
PCRE2 (PHP >=7.3)
pattern to validate a slug with numbers
Submitted by
mestri.rodrigo
-
2 years ago
0
Length > 4 chars
Java 8
Accounts for any character 4 times and not 'null'
Submitted by
anonymous
-
2 years ago
0
СНИЛС укороченный
PCRE2 (PHP >=7.3)
Более компактный шаблон для проверки СНИЛС
Submitted by
anonymous
-
2 years ago
1
Illumina sample ID regex
PCRE2 (PHP >=7.3)
regular expression for illumina sequencer sample ids. sample Ids are alpha numeric with no more than two dashes or underscores and no underscores or dashes in the beginning or end of the sample id.
Submitted by
anonymous
-
2 years ago
0
СНИЛС
PCRE2 (PHP >=7.3)
Проверка формата СНИЛС
Submitted by
Virenbar
-
2 years ago
0
ИНН
PCRE2 (PHP >=7.3)
Проверка правильности кадастрового номера
Submitted by
Virenbar
-
2 years ago
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
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
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
1
...
71
72
73
74
75
...
141
Extract Rapidgator Links from a HTML web page (Works for rg.to and rapidgator.net)
2
Regular Expression
PCRE2 (PHP >=7.3)
/
https:
\/\/
r
(?:
g
|
apidgator
)
\.
(?:
to
|
net
)
\/
file
.
*
?
(?:
(?=
">
)
|
(?:
html
|
htm
|
rar
|
zip
|
txt
)
(?=
"
)
)
/
gm
Open regex in editor
Description
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
Locate the match information section and click on the Export icon
Select "Plain Text" from the popup modal side menu
Copy your Rapidgator Links without stress.
If it's helpful to you, don't forget to upvote so that others can benefit as well.
Submitted by
SmartCoder
-
2 years ago