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 6,120 community submitted regex patterns...
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
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 2 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
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
0
JS comments remove
ECMAScript (JavaScript)
All types
Submitted by
piterden
-
3 years ago
(Last modified 2 years ago)
0
Iran Mobile Regex
ECMAScript (JavaScript)
09...
Submitted by
anonymous
-
3 years ago
0
Tên Tiếng Việt
PCRE2 (PHP >=7.3)
Tên Tiếng Việt
Submitted by
anonymous
-
3 years ago
(Last modified 10 months ago)
0
get .tbpa coins
PCRE2 (PHP >=7.3)
hmm
Submitted by
SrB
-
3 years ago
0
Get first value in xml tag
PCRE2 (PHP >=7.3)
/^(label=\")(.+)(" length.*)(\/>)/gm
Submitted by
Stephen
-
3 years ago
0
Mimecast - Spam Scan Regex
PCRE2 (PHP >=7.3)
This was put together so that O365 can match headers and move to Microsoft Junk-mail folder instead of using Mimecast User Hold Queue.
Submitted by
anonymous
-
3 years ago
1
SML Structure
PCRE2 (PHP >=7.3)
This i suggest match the sml structure. Use it wisely, I made it just for fun!
Submitted by
Shoaiyb Sysa
-
3 years ago
(Last modified 3 years ago)
1
...
125
126
127
128
129
...
306
MongoDB Object ID validation
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
[
a
-
fA
-
F0
-
9
]
{24}
$
/
Open regex in editor
Description
24 character hex string matching MongoDB Object ID format
Submitted by
anonymous
-
3 years ago