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
Strings with length multiple of 3 or 5
PCRE (PHP <7.3)
Lines with length multiple of 3 or 5.
Submitted by
ismtabo
-
9 years ago
0
Quote JSON keys
ECMAScript (JavaScript)
Regex to quote keys to parse a string of relaxed JSON. Rules: No ':', '"' or newline in keys allowed
Submitted by
Lars Willighagen
-
9 years ago
0
Example where regex is not matching device id value
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Find a quoted unix style path in text block
Python
Find a quoted unix style path in text block, breaking the text block into constituent parts, 1 before the quoted path starts 2 the path 3 the filename 4 whats left
Submitted by
AndyGif
-
9 years ago
0
Domain Name Validation
PCRE (PHP <7.3)
no description available
Submitted by
Vinay
-
9 years ago
0
Jade - parse includes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
zepit multiline
ECMAScript (JavaScript)
no description available
Submitted by
antoine
-
9 years ago
0
Date expression
ECMAScript (JavaScript)
yyyy-mm-dd
Submitted by
Alan
-
9 years ago
0
why
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
emails
PCRE (PHP <7.3)
no description available
Submitted by
Plamen
-
9 years ago
0
Emails
PCRE (PHP <7.3)
find emails(emicha@mail.bg)
Submitted by
anonymous
-
9 years ago
0
Strip the Headers from a response where JSON is present
ECMAScript (JavaScript)
HTTP/1.0 404 Not Found Cache-Control: no-cache Content-Type: application/json {"validation_message":'...'} ...
Submitted by
John B.
-
9 years ago
0
phone number
Python
no description available
Submitted by
Dries Werckx
-
9 years ago
0
Seletor de qualquer texto com espaço
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Firstname Lastname(double)
ECMAScript (JavaScript)
Example: ANDA IVANOVA-KRIVONOGOVA
Submitted by
KSrGEAR
-
9 years ago
0
Find in string template with regular expression
PCRE (PHP <7.3)
In string find regular expression or data type with limiters (start and end or summary count of symbols)
Submitted by
Bohdanov Mikhail
-
9 years ago
0
DD-MM-YYYY
ECMAScript (JavaScript)
Any date that as a valid month, a valid date and a year composed of 4 numbers. You can change the '-' caracter to any divider you want.
Submitted by
anonymous
-
9 years ago
0
replace-last-comma with semicolon
PCRE (PHP <7.3)
replace-last-comma with semicolon similar to http://stackoverflow.com/questions/3829483/how-to-replace-last-occurrence-of-characters-in-a-string-using-javascript
Submitted by
Michael Freidgeim
-
9 years ago
0
Password Security and Validation
PCRE (PHP <7.3)
A password regex that has to have 6 characters at minimum, not spaces allowed, and at least 1 special character, 1 uppercase letter, 1 lowercase letter and a digit
Submitted by
MestreMurai
-
9 years ago
0
Поиск процента ({число}%) в строке
PCRE (PHP <7.3)
Выражение осуществялет поиск процента в строке вида: 10% 5-17% 25-74,3% 41,6-48% 3,5-27,9%
Submitted by
Mashoshin Sergey
-
9 years ago
1
...
356
357
358
359
360
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
^
(
(
\d
{1,3}
(
,
\d
{3}
)*
(
\.
\d
+
)?
)
|
(
\d
+
(
\.
\d
+
)?
)
)
$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago