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,880 community submitted regex patterns...
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
0
Select links comment
PCRE2 (PHP >=7.3)
I have a lot of code that looks like this: Sometimes I wanna search for it. Helps me find instances of it in my code.
Submitted by
charliecalvert
-
2 years ago
0
find between 2 strings
PCRE2 (PHP >=7.3)
find between 2 strings
Submitted by
anonymous
-
2 years ago
0
find between
PCRE (PHP <7.3)
find between
Submitted by
anonymous
-
2 years ago
0
Replace anything not a letter or a hyphen
PCRE2 (PHP >=7.3)
Make folder/url safe use with eg sed: echo 'My fancy $thing' | sed 's//-/g' results in My-fancy--thing
Submitted by
anonymous
-
2 years ago
0
markdown headings with underscore
PCRE2 (PHP >=7.3)
it still makes a few false positives
Submitted by
charliecalvert
-
2 years ago
-1
Convert numbers-only YYYYMMDD date to dash delineated YYYY-MM-DD
PCRE2 (PHP >=7.3)
Convert numbers-only YYYYMMDD date to dash delineated YYYY-MM-DD
Submitted by
anonymous
-
2 years ago
0
Jerem
PCRE2 (PHP >=7.3)
To match specific name based on season code
Submitted by
anonymous
-
2 years ago
0
JavaScript Function w/ Recusive Parenthasis JavaScript Function w/ Recusive Parenthasis JavaScript Function w/ Recusive Parenthasis
PCRE2 (PHP >=7.3)
Regex that allows the following: foo(bar).qax(foo(bar).qax(foo(bar).qax(foo(bar).qax()))) Its sorta hard to make out whats going on, so I will just say it: ...
Submitted by
jD3V
-
2 years ago
1
...
78
79
80
81
82
...
594
Regex to add <p> in the beginning
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
<footer><!
\[
CDATA
\[
)
\s
?
(
<p>
)?
/
gm
Open regex in editor
Description
In case #3: A <p> should be prepended to the beginning of the first paragraph.
Submitted by
anonymous
-
3 years ago