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 12,000 community submitted regex patterns...
1
Timestamp from json
PCRE (PHP <7.3)
no description available
Submitted by
Thomas Khalil
-
9 years ago
0
parse velocity variables
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Does not match
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Originale
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Regexp for mediawiki
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
5
Latitude,Longitude fetcher
PCRE (PHP <7.3)
Useful to work with GoogleMap API.
Submitted by
anonymous
-
9 years ago
1
tag replace
PCRE (PHP <7.3)
no description available
Submitted by
Lexx918
-
9 years ago
2
Valmaks_rename_big_strings
PCRE (PHP <7.3)
no description available
Submitted by
witamin
-
9 years ago
1
URL validator with tests
PCRE (PHP <7.3)
inspired by https://mathiasbynens.be/demo/url-regex and the pattern from @imme_emosol
Submitted by
Elmervc
-
9 years ago
1
Israeli Phone Number
PCRE (PHP <7.3)
Validate Israeli common phone numbers (simple landline and mobile only, no special / free / premium numbers)
Submitted by
uda
-
9 years ago
0
Valmaks_name_replace_222
PCRE (PHP <7.3)
no description available
Submitted by
witamin
-
9 years ago
1
Get Content within brackets
PCRE (PHP <7.3)
Get Content within brackets
Submitted by
anonymous
-
9 years ago
1
URL supporting ports, GET params and js routing
PCRE (PHP <7.3)
(http(s)?:\/\/) // http:// or https:// (([a-zA-Z0-9_\-])+(\.([a-zA-Z0-9_\-])+)+(:[1-9]+[0]*)?)(\/?| // basic url f.e. www.wp.pl with obligatory / at end ...
Submitted by
Rafał Rowiński
-
9 years ago
0
http
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Match a string that is equal to a string before a '='
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
Match the first and last char of a word
PCRE (PHP <7.3)
no description available
Submitted by
pedroppinheiro
-
9 years ago
-2
Numbers separated by comma and whitespace
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
Match XML that has a single root element
PCRE (PHP <7.3)
Can be used as a basic validator to ensure that XML has only a single root element
Submitted by
Jerome Wilson
-
9 years ago
1
extract video id from youtube url
PCRE (PHP <7.3)
no description available
Submitted by
egg-
-
9 years ago
2
Grab all hyperlinks
PCRE (PHP <7.3)
no description available
Submitted by
Josh Bourke
-
9 years ago
1
...
544
545
546
547
548
...
600
AEM - Dispatcher - access.log - Regex for SPLUNK fields
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