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,020 community submitted regex patterns...
0
npm expression parser using javascript engine.
ECMAScript (JavaScript)
This is a npm expression parser that can be used, for instance, to create shims. This RegEx has been created for spypkg module.
Submitted by
marckassay
-
6 years ago
0
URL regexp
PCRE (PHP <7.3)
Регулярное выражение для проверки корректности URL (пример: «http://www.my-site.com»):
Submitted by
anonymous
-
6 years ago
0
E-mail regexp
PCRE (PHP <7.3)
Регулярное выражение для проверки корректности e-mail (пример: «nick@mail.com»):
Submitted by
anonymous
-
6 years ago
0
Regexp for LOGIN
PCRE (PHP <7.3)
/^[a-z]+([-_]?[a-z0-9]+){0,2}$/i Начинается и кончается на букву/цифру и содержит не более двух "_"/"-" и не подряд. Т.е. пропустит "admin_0-15", "user", "user-lol" и не пропустит "admin--12", "user_lol-", "lamer--", "-a-"
Submitted by
anonymous
-
6 years ago
0
Credit Card Number Format Validation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Numbers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
T1
Python
RA results v Tully's predictions
Submitted by
anonymous
-
6 years ago
0
RA3
Python
calendar
Submitted by
anonymous
-
6 years ago
0
wasstraat
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
wasstraat
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
SQL Injection
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Regex Days Of Humble Beginings
PCRE (PHP <7.3)
i was just trying to match words and assign them to variables that i could later search for in my logs
Submitted by
anonymous
-
6 years ago
0
Regex Days Of Humble Beginings
PCRE (PHP <7.3)
i was just trying to match words and assign them to variables that i could later search for in my logs
Submitted by
anonymous
-
6 years ago
0
Regex Days Of Humble Beginings
PCRE (PHP <7.3)
i was just trying to match words and assign them to variables that i could later search for in my logs
Submitted by
anonymous
-
6 years ago
0
Linux1-4-2-2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Linux1-4-2-2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Linux1-4-2-1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
MC
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
No control characters
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
regex to check string contains two hyphens
ECMAScript (JavaScript)
This should work: ^([a-zA-Z0-9]-[a-zA-Z0-9])+$ Also if you want to have exactly 135 hyphens: ^([a-zA-Z0-9]-[a-zA-Z0-9]){135}$...
Submitted by
anonymous
-
6 years ago
1
...
452
453
454
455
456
...
901
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
\b
http:
\/\/
[
a
-
zA
-
Z0
-
9
]
{1,}
\.
com
\/
(
(
[
a
-
zA
-
Z0
-
9
]
{1,}
\/
){1,}
)?
(
(
[
a
-
zA
-
Z0
-
9
]
{1,}
\.
png
)
|
(
[
a
-
zA
-
Z0
-
9
]
{1,}
\.
jpg
)
|
(
[
a
-
zA
-
Z0
-
9
]
{1,}
\.
gif
)
)
\b$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
6 years ago