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,040 community submitted regex patterns...
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
1
OhArthit
PCRE2 (PHP >=7.3)
ผลิตภัณฑ์ส่งเสริมการขาย
Submitted by
anonymous
-
4 years ago
0
Open ach
PCRE2 (PHP >=7.3)
8k realese
Submitted by
Cache
-
4 years ago
2
Url
PCRE2 (PHP >=7.3)
Port https://regex101.com/library/cX0pJ8 to PCRE2 (PHP >= 7.3)
Submitted by
semivori
-
4 years ago
0
Email
ECMAScript (JavaScript)
to validate email
Submitted by
anonymous
-
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
1
Match all numbers
Java 8
Match all numbers from a string.
Submitted by
VS
-
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
Frac
Python
frac
Submitted by
anonymous
-
4 years ago
0
convert currency
PCRE2 (PHP >=7.3)
remove currency symbol, remove commas
Submitted by
RWCorbett
-
4 years ago
1
String doesn't start or end with . - '
Java 8
String doesn't start or end with . - '
Submitted by
VS
-
4 years ago
0
SKRAI
PCRE2 (PHP >=7.3)
haowei.ch
Submitted by
haowei.ch
-
4 years ago
-2
smargs
PCRE2 (PHP >=7.3)
smargs not margins
Submitted by
rkatz
-
4 years ago
0
Ansible group that are not part of childre
PCRE2 (PHP >=7.3)
csc
Submitted by
anonymous
-
4 years ago
0
Date2 (Notes)
PCRE (PHP <7.3)
Date2 (Notes)
Submitted by
anonymous
-
4 years ago
0
Valid Dates
PCRE2 (PHP >=7.3)
e
Submitted by
anonymous
-
4 years ago
0
Ejemplos - lookahead
PCRE2 (PHP >=7.3)
Ejemplo del uso de grupos lookahead
Submitted by
anonymous
-
4 years ago
0
Numeric value without decimal
ECMAScript (JavaScript)
Numeric value without decimal
Submitted by
anonymous
-
4 years ago
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
Date by Month Name
Golang
Best I could do for parsing dates spelled out as day, month name, year
Submitted by
anonymous
-
4 years ago
(Last modified a year ago)
1
...
234
235
236
237
238
...
902
Community Library Entry
0
Regular Expression
Python
r"
^
(
[
A
-
Za
-
z./
\-\(\=
><)
]
+
:
?
\*
?
|
^
[
A
-
Za
-
z./
\-\(\=
><)0
-
9
]
+
:
+
?
|
^
[
A
-
Za
-
z0
-
9/
\-\(
]
+
)?
*
?
(
(
[
0
-
9
\*
]
+
)
(
\.
|
\-
)*
(
[
0
-
9
\*
]
+
)*
)
(
[
a
-
zA
-
Z./%
]
*
)
?
(
[
0
-
9.
\-
=
]
+
)?
?
(?!
[
0
-
9
]
+
)
(
[
a
-
zA
-
Z./%
]
+
)?
$
"
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago