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
Regex for html heading to get only text
PCRE2 (PHP >=7.3)
The Instagram Photo Feed
Submitted by
pwdmad
-
3 years ago
0
youtube
PCRE (PHP <7.3)
asdfasdfasdf
Submitted by
anonymous
-
3 years ago
0
Email test
PCRE2 (PHP >=7.3)
email test
Submitted by
anonymous
-
3 years ago
0
My lib
PCRE2 (PHP >=7.3)
ceci est ma lib
Submitted by
anonymous
-
3 years ago
0
Email Validation Regex
PCRE2 (PHP >=7.3)
To validate email.
Submitted by
anonymous
-
3 years ago
0
DA-1551_feature-2-incorrect-missing-blank-or-inconsistent
ECMAScript (JavaScript)
Spacing Issue
Submitted by
anonymous
-
3 years ago
0
sources.list line match
Python
Match a single line inside of an apt sources.list file and return content in named groups. This regex should take into account many possible variations of a sources.list entry, but by far not all of them. What it does: recognize most of the protocols supported by apt...
Submitted by
NK308
-
3 years ago
0
Launchpad command variables
Python
Launchpad command variables
Submitted by
anonymous
-
3 years ago
0
Add padding to non-empty HTML table cells that don't already have padding.
PCRE2 (PHP >=7.3)
This RegEx is very specific but demonstrates a technique to find and modify HTML tags. Finds and tags that: Do not already have padding. Are complete (i.e. have a closing tag) Are not empty (nor contain only one tag)...
Submitted by
jsmart523
-
3 years ago
0
PromQL - label\values
PCRE2 (PHP >=7.3)
Recognize valid promQL label\values part of expression
Submitted by
digitok
-
3 years ago
(Last modified 3 years ago)
1
Web wikilinks
PCRE2 (PHP >=7.3)
[[plain wikilinks]] [[first tag]] [[meta on first tag]] [[first tag + meta + container]] [[first tag + meta + container + third tag]] [[forgot a bracket...
Submitted by
Evan Boehs
-
3 years ago
0
email
PCRE2 (PHP >=7.3)
validate email
Submitted by
anonymous
-
3 years ago
1
Github URI Validator
PCRE2 (PHP >=7.3)
Validate Github URI
Submitted by
Shoaiyb Sysa
-
3 years ago
(Last modified 3 years ago)
0
Volume, issue, item
PCRE2 (PHP >=7.3)
getting volume issue, item out of link as group 1,3,5; bepress url
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
aaa
PCRE2 (PHP >=7.3)
aaa
Submitted by
anonymous
-
3 years ago
0
Exclude Home Page by URL
PCRE2 (PHP >=7.3)
This works in Google Tag Manager regex to exclude the Home Page by URL
Submitted by
anonymous
-
3 years ago
0
0x36210C88C438001A616687456978Aa4d3AdCba35
Python
`[ [ { "content": "\n", "isParticipating": true, "groupNum": 0,...
Submitted by
Natego☬158ᴗ✯eth:0x36210C88C438001A616687456978Aa4d3AdCba35
-
3 years ago
(Last modified 3 years ago)
0
Remove Width & Height Tag from iframe
PCRE2 (PHP >=7.3)
Remove width & height tage from Youtube/Vimeo embed code Useful for implementing responsive design
Submitted by
Mendel Groner
-
3 years ago
0
Extract Span Tag Content
PCRE2 (PHP >=7.3)
Extract Content in SPAN tag
Submitted by
Byron Lai
-
3 years ago
(Last modified 3 years ago)
0
https://stackoverflow.com/questions/50503122/regex-to-validate-the-conditions-evaluation-logic-which-is-defined-by-user/55913082#55913082
ECMAScript (JavaScript)
lol
Submitted by
piterden
-
3 years ago
1
...
180
181
182
183
184
...
900
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(?!
"
[^
"
]
*
)
(
,
\s
*
[
\]
}
]
)
(?!
[^
"
]
*
"
)
/
gm
Open regex in editor
Description
Don't rely on this for any serious business, though.
Submitted by
Basix
-
3 years ago