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...
1
Match all and only Emoji
ECMAScript (JavaScript)
Purpose I wanted to make a regex that just works. This is it for ECMAScript engines. Capabilities ...
Submitted by
anonymous
-
5 months ago
1
Happy birthday
PCRE2 (PHP >=7.3)
happy birthday with various variations
Submitted by
AdiGro
-
5 months ago
1
Log Match
PCRE2 (PHP >=7.3)
test
Submitted by
Mohammad
-
5 months ago
1
Find comments in Kotlin
PCRE2 (PHP >=7.3)
Finds comments in Kotlin but not inline comments
Submitted by
anonymous
-
5 months ago
1
й
PCRE2 (PHP >=7.3)
й
Submitted by
anonymous
-
5 months ago
1
Metadata page number
PCRE2 (PHP >=7.3)
This describes how to fetch data from a customized tag
Submitted by
anonymous
-
5 months ago
1
Dockerfile: Match a single RUN statement including all line continuations
PCRE2 (PHP >=7.3)
This will match the first RUN statement in a Dockerfile and capture all lines in that RUN statement (including those where the line continuation operator '\' is used on the previous line.)
Submitted by
Russ Frizzell-Carlton
-
5 months ago
1
Russian car plate
PCRE2 (PHP >=7.3)
Regular expression for matching Russian car plate without region part
Submitted by
aalexren
-
5 months ago
1
Russian car plate for Python
Python
Regex for matching Russian car plate without region
Submitted by
aalexren
-
5 months ago
1
ads on telewebion.com
PCRE2 (PHP >=7.3)
ads to block on telewebion.com
Submitted by
Aquarii11
-
5 months ago
1
Select formula content without '='
PCRE2 (PHP >=7.3)
RegEX: (? | lub |
Submitted by
Piotr Osada
-
5 months ago
1
Hugging Face NLP Tokenization
PCRE2 (PHP >=7.3)
https://huggingface.co/learn/nlp-course/chapter2/4?fw=pt
Submitted by
anonymous
-
5 months ago
1
Email validation regex
PCRE2 (PHP >=7.3)
Email validation Explanation ^(?!.*@.*@) Asserts that the string does not contain two consecutive “@” symbols. ...
Submitted by
Cxbersxnic
-
5 months ago
1
Multiline CSS to one line CSS example (C#)
.NET 7.0 (C#)
Regex that will match/replace unnecessary whitespaces in CSS code.
Submitted by
Puchkov Eugene
-
5 months ago
(Last modified 5 months ago)
1
Automod - "pedophile"
PCRE2 (PHP >=7.3)
Matches "pedophile" and variations, including a few common bypasses.
Submitted by
paiuxfluens
-
4 months ago
(Last modified 2 months ago)
1
Automod - Discord scam invitations
PCRE (PHP <7.3)
Matches variations of messages commonly used to send Discord scams/hacks. Instructions are written for YAGPDB
Submitted by
paiuxfluens
-
4 months ago
1
Wikilink
PCRE2 (PHP >=7.3)
Matches internal Wikimedia/Wikipedia links and captures the article name i.e. captures substance theory
Submitted by
anonymous
-
4 months ago
1
Normalize String 1
PCRE2 (PHP >=7.3)
O regex garante que palavras não tenham sequências de dois números consecutivos e não consistam apenas em números, exigindo pelo menos uma letra.
Submitted by
anonymous
-
4 months ago
1
Battlemetrics line fixer
Python
Fixes battlemetrics newline formatting
Submitted by
Neun
-
4 months ago
1
JS/TS imports of external dependencies
Rust
This regex can be used on a JavaScript/TypeScript file to find imports from third-party packages. This is useful for determining what to put in dependencies/peerDependencies. This is a Rust regex, which makes it easy to use with rg (ripgrep). Pro tip: combine rg with sort -u to get a list of all pac...
Submitted by
Nikita Karamov
-
4 months ago
1
...
305
306
307
308
309
...
900
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
[^
.
]
*
?
\b
oak
(?:
\W
+
[^
\W
.
]
+
){0,5}
?
\W
+
wood
(?:
\W
+
[^
\W
.
]
+
){0,5}
?
\W
+
table
(?:
\W
+
[^
\W
.
]
+
){0,5}
?
\W
+
variety
[^
.
]
*
\.
+
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago