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 5,560 community submitted regex patterns...
0
numbered multilevel list
ECMAScript (JavaScript)
Search for items in dot separated lists like 1 1.1 1.1.1 ... 2...
Submitted by
Vlad
-
4 years ago
0
Frac
Python
frac
Submitted by
anonymous
-
4 years ago
0
Discord role/ping/channel catcher
ECMAScript (JavaScript)
This regex will match when people ping someone or ping a group it will also match when people mention a channel for non-channel catching type use ``
Submitted by
The Detenator#4604
-
4 years ago
0
Stack Overflow (match only words)
Python
a word is anything valid within a parens (like in a function), but the function itself should not be matched a word may have a numeric at the end or the start there is no guarantee of a single space (or ANY space other than some operators)
Submitted by
Cambuchi
-
4 years ago
0
Email
ECMAScript (JavaScript)
to validate email
Submitted by
anonymous
-
4 years ago
0
words without special characters and allow words to be separated by a dash sign
ECMAScript (JavaScript)
This regular expression checks for below rules: Must not have special characters except a dash sign Must not start with a dash sign or white space Must not end with a dash sign or white space Must not have a dash sign or white space in sequence
Submitted by
Vijay sasvadiya
-
4 years ago
0
Selector Trim Matcher (jQuery)
ECMAScript (JavaScript)
The regular expression used in the jQuery library to match characters that should be trimmed from selector strings.
Submitted by
Ben
-
4 years ago
0
pig latin translator
Python
turn a sentence into pig latin
Submitted by
krashr-ds
-
4 years ago
0
GridTracker Call Roster Filter
ECMAScript (JavaScript)
GridTracker Call Roster Filter finds WSJT-X Single-Period Decodes messages containing CQ, 73, or RR73 (not within callsigns or grid squares). The filtered results can then be responded to immediately.
Submitted by
WB6UNG
-
4 years ago
0
Breaking Change Commit Message
ECMAScript (JavaScript)
For GitVersion
Submitted by
anonymous
-
4 years ago
0
Regex japanese characters validation
ECMAScript (JavaScript)
Regex for matching Japanese characters
Submitted by
ruanzx
-
4 years ago
0
匹配字母开头只能出现字母与数字
ECMAScript (JavaScript)
匹配字母开头只能出现字母与数字
Submitted by
anonymous
-
4 years ago
0
ZHWP 防止KC皮草 1
Python
阻擋「CAT:×××家族」
Submitted by
anonymous
-
4 years ago
0
Match popular media type such as audio, images and/or videos
ECMAScript (JavaScript)
A regex that matches popular media types like audio, images and/or video. Can be adjusted to any media file type.
Submitted by
Javier Carrion
-
4 years ago
0
android imports filter
Python
separates 3rd party imports from the official ones
Submitted by
anonymous
-
4 years ago
0
取得被 [] 包住的片段
ECMAScript (JavaScript)
取得被 [] 包住的片段
Submitted by
anonymous
-
4 years ago
0
Phone number
ECMAScript (JavaScript)
Regex phone number
Submitted by
Duy
-
4 years ago
0
test
Python
test
Submitted by
test
-
4 years ago
0
valid time check
Python
written as a part of the Coursera interacting with the OS course offered via Google
Submitted by
anonymous
-
4 years ago
0
Breakdown datetime stamp into parts (YYYY-MM-DD[T]HH:MM:SS)
ECMAScript (JavaScript)
This will break the datetime string into it's individual parts and add them into named groups.
Submitted by
Tony Hume
-
4 years ago
1
...
105
106
107
108
109
...
278
Community Library Entry
0
Regular Expression
Python
r"
(
```
|
`
)
(
python
)?
\s
*
?
\n
?
(
from
\S
+
)?
import
\S
+
(
\n.
*
?
;
)*
\n
(
(
.
*
return
\S
+
```
)
|
(
`return
\S
+
`
)
)
"
gm
Open regex in editor
Description
A regex that matches comments that adhere to the rules of r/ProgrammerHumor
Submitted by
anonymous
-
a year ago