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...
1
10
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Numeric input allow commas and decimal point
PCRE (PHP <7.3)
Match numeric input that may or may not include commas and/or decimal point.
Submitted by
anonymous
-
9 years ago
1
ISO 8601 Duration Validator
ECMAScript (JavaScript)
Validates format of ISO-8601 duration.
Submitted by
ed0wolf
-
9 years ago
1
Simple global regex
Python
Regex for finding tempratures in a text
Submitted by
anonymous
-
9 years ago
1
reddit username
PCRE (PHP <7.3)
no description available
Submitted by
l3d00m
-
9 years ago
1
number of spaces at beginning of lines
ECMAScript (JavaScript)
find the number of spaces at the beginning of lines in a file.
Submitted by
andy
-
9 years ago
1
Strong Password
PCRE (PHP <7.3)
1 digit 1 lower case 1 upper case 1 special character (no-space) 8-20 length
Submitted by
Femi Fapohunda
-
9 years ago
1
Regex SCript replace
ECMAScript (JavaScript)
no description available
Submitted by
MGO
-
9 years ago
1
Currency Detector Python
Python
Currency Detector for Python
Submitted by
Joao Graca
-
9 years ago
1
dd-mm-yyyy
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
RegEx - Exclude zero
PCRE (PHP <7.3)
RegEx - Exclude zero
Submitted by
http://stackoverflow.com/questions/8910972/regex-exclude-zero
-
9 years ago
1
Slovak phone number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Find Markdown links, but not image
PCRE (PHP <7.3)
no description available
Submitted by
Chuck
-
9 years ago
1
anti-xss regex
ECMAScript (JavaScript)
this is a white list regex that invalidates input with "=
Submitted by
Ivan Cai
-
9 years ago
(Last modified a year ago)
1
Indian mobile numbers
PCRE (PHP <7.3)
All indian mobile phone numbers are till now are in the format of +91-(789)(9-digits) or +91(789)(9-digits) or 0(789)(9-digits). those numbers which are come into this category is valid with this RegEx.
Submitted by
N shoban babu
-
9 years ago
1
whitespaces and positive numerics
ECMAScript (JavaScript)
//Accepts whitespaces and positive numeric values including integers and decimals(ortional) with 3 precisions only. //Ex: "999", "99999.999", " 999.999" -> ACCEPTABLE
Submitted by
Pubudu (motustudio)
-
9 years ago
1
Globality APP
PCRE (PHP <7.3)
no description available
Submitted by
globality team
-
9 years ago
1
Russian phone number validater
PCRE (PHP <7.3)
Russian phone number validater
Submitted by
Russell of sitesoft
-
9 years ago
1
https://www.facebook.com/video.php?v=1009222819122586
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
match start of line subsubsection
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
842
843
844
845
846
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(?P<req_ip>
^.
+
)
\s
+
(?P<req_identity>
.
+
?
)
\s
+
(?P<req_user>
.
+
?
)
\s
+
\[
(?P<req_date>
.
+
?
)
\]
\s
+
"
(?P<req_method>
.
+
?
)
\s
+
(?P<req_path>
.
+
?
)
\s
+
(?P<req_protocoll>
.
+
?
)
"
\s
+
(?P<req_code>
.
+
?
)
\s
+
(?P<req_size>
.
+
?
)
\s
+
"
(?P<req_referer>
.
+
?
)
"
\s
+
"
(?P<req_device>
.
+
?
)
"
/
gm
Open regex in editor
Description
AEM - Dispatcher - access.log - Regex for SPLUNK fields
Submitted by
Robert Wunsch (wunsch@adobe.com)
-
2 years ago