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
Community Patterns
Search among 5,680 community submitted regex patterns...
0
Regex to flag the word "pharmafia"
Python
Useful for forum moderators looking to flag variations of the word "pharmafia" in comments. captures the following variations: pharmafia ph4rm4f14 phar_mafia phar-mafia
Submitted by
tychopotts
-
2 years ago
0
FiveM cfx.re/join Link Regex
Python
Matches any valid cfx.re/join/ links.
Submitted by
Johnny_JTH
-
2 years ago
0
docker image tag name
ECMAScript (JavaScript)
javascript regex for docker image tag name from doc
Submitted by
ahmad safari
-
2 years ago
0
docker image tag name
ECMAScript (JavaScript)
javascript regex for docker image tag name from doc
Submitted by
ahmad safari
-
2 years ago
0
Python program to match if two words from a list of words starting with letter 'P'.
Python
Python program to match if two words from a list of words starting with letter 'P'.
Submitted by
anonymous
-
2 years ago
0
First Character can not be space, and allow only characters
ECMAScript (JavaScript)
First character can not be space and only characters are allowed
Submitted by
anonymous
-
2 years ago
0
Remove ANSI escape codes
Python
Remove ANSI escape codes
Submitted by
anonymous
-
2 years ago
0
iCalendar property parsing
Python
parses property strings as used by iCalendar. Kinda.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Remove all duplicate words
ECMAScript (JavaScript)
Removes all words that are NOT followed by a space, followed by the same word
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Tailwindcss Dark: class selection
ECMAScript (JavaScript)
Select all dark: classes in a project to remove it if you want that.
Submitted by
Amit
-
2 years ago
(Last modified 2 years ago)
0
分组引用
Python
分组引用
Submitted by
anonymous
-
2 years ago
0
Remove leading and trailing spaces
ECMAScript (JavaScript)
Remove leading and trailing spaces from multiline text.
Submitted by
Freemen Muaddib
-
2 years ago
0
Remove Empty Lines From TXT Document
ECMAScript (JavaScript)
Remove all empty lines from text document.
Submitted by
anonymous
-
2 years ago
0
Phone number
Python
Phone number
Submitted by
anonymous
-
2 years ago
0
Password with a-z, A-Z, 0-9 or special character
ECMAScript (JavaScript)
at least 1 lower-case character at least 1 upper-case character at least 1 number or special character
Submitted by
Wemo
-
2 years ago
0
date format YYYY-MM-DD
ECMAScript (JavaScript)
to detect date format YYYY-MM-DD ony starting from 1900
Submitted by
anonymous
-
2 years ago
0
Find Phone numbers on uncommented lines
ECMAScript (JavaScript)
Nothing at the moment
Submitted by
Bentejuy
-
2 years ago
0
decimal double point with range number from minus to plus range number
Python
the decimal, double point with range number from minus to plus range number, the example from -199.99 to 199.99 revision from example pattern 1: ^(?:\-?10(?:\.\d\d?)?|\-?[1]?[1-9]?0-9?)$
Submitted by
eki.saputra
-
2 years ago
(Last modified 2 years ago)
0
regular expresion mathematical expression
Python
re to validate x/(x+b)=(dx)/a like 7/(x+9) = (4x)/3
Submitted by
anonymous
-
2 years ago
0
flake8-sql False Positives
Python
An example false positive matching docstring for the regex used by flake8-sql (https://github.com/pgjones/flake8-sql).
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
1
...
257
258
259
260
261
...
284
Quote Macthing with escape
25
Regular Expression
ECMAScript (JavaScript)
/
(
[
"'
]
)
(
(?:
(?=
(?:
\\
)*
)
\\
.
|
.
)*
?
)
\1
/
gm
Open regex in editor
Description
Matches text within quotes (", ') and escapes the charecters.
Submitted by
Vihan Bhargava
-
9 years ago