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 11,860 community submitted regex patterns...
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
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
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
TTB fund acc 1
PCRE2 (PHP >=7.3)
my work space
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
1
Custom Commit ReGex
PCRE2 (PHP >=7.3)
Custom Commit ReGex Test
Submitted by
Kewal Rathod
-
2 years ago
(Last modified 2 years ago)
0
Normal URL
PCRE2 (PHP >=7.3)
Validates that all necessary parts of a "normal" domain are there (scheme, subdomain, secondary-level domain, top-level domain) and allows for additional subdirectories. Does not work for options like "mailto: example@email.com" or anything that does not stick to a typical web address URL.
Submitted by
Alexa J.
-
2 years ago
-1
213
PCRE2 (PHP >=7.3)
12312
Submitted by
anonymous
-
2 years ago
-1
1
PCRE2 (PHP >=7.3)
1
Submitted by
anonymous
-
2 years ago
0
Drealth
PCRE2 (PHP >=7.3)
just a normal text to the drealth emojis
Submitted by
NobreHD
-
2 years ago
1
...
77
78
79
80
81
...
593
IPV4 Grabber
0
Regular Expression
PCRE2 (PHP >=7.3)
/
\b
(?<!
\.
)
(?:
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
[
\d
]
|
1
?
[
\d
]
[
\d
]
?
)
\.
){3}
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
[
\d
]
|
1
?
[
\d
]
[
\d
]
?
[
\d
]
?
(?!
\.
)
)
\b
/
gm
Open regex in editor
Description
This expression grabs any IPV4 address from any text, any time, anywhere. Hopefully.
Submitted by
Ricardo Chica
-
2 years ago
(Last modified 2 years ago)