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 14,900 community submitted regex patterns...
2
vk.com wall
PCRE (PHP <7.3)
Parse 123_123 http://vk.com/id82702078?w=wall82702078_3386 http://vk.com/wall82702078_3386 http://vk.com/club34073863?w=wall-34073863_28647 http://vk.com/wall-34073863_28647
Submitted by
by xzotix
-
9 years ago
1
Common log format datetime
ECMAScript (JavaScript)
Parses the common log format into component elements. According to wikipedia, common log is strftime format %d/%b/%Y:%H:%M:%S %z
Submitted by
Matt Ingenthron <ingenthr@cep.net>
-
9 years ago
-2
S3 log analysis
ECMAScript (JavaScript)
An updated S3 log analyzer. I found that my logs sometimes had strings quoted, so I needed to add possible handling for that.
Submitted by
Matt Ingenthron <ingenthr@cep.net>
-
9 years ago
1
zohar look
PCRE (PHP <7.3)
for 8 tracks
Submitted by
avner
-
9 years ago
1
/The.+Knick.+1x.+720p.+/i
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Stackoverflow
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
S3 Access Log Analyzer
ECMAScript (JavaScript)
A javascript regex for parsing an S3 log line.
Submitted by
Matt Ingenthron <ingenthr@cep.net>
-
9 years ago
1
Borderlands PC Shift Codes
PCRE (PHP <7.3)
Matches PC Shift Codes for borderlands 2 & Pre Sequel Capturing group 1 for complete code only
Submitted by
jymannob
-
9 years ago
-2
five word capture
Python
no description available
Submitted by
anonymous
-
9 years ago
2
Capture 5 words either side of a match string
Python
no description available
Submitted by
anonymous
-
9 years ago
1
i want regex for for following string"abcabcabcabc,*,123412341234"
PCRE (PHP <7.3)
i want regex it should support 12 length character comma seperated string and also it sholud accept multiple "*" init .like above
Submitted by
mahesh
-
9 years ago
1
hs
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
3
ISO 8601 date
PCRE (PHP <7.3)
Validates a date with ISO 8601 format. Source: http://www.pelagodesign.com/blog/2009/05/20/iso-8601-date-validation-that-doesnt-suck/
Submitted by
anonymous
-
9 years ago
0
congratulation
PCRE (PHP <7.3)
very nice helper
Submitted by
fred
-
9 years ago
1
Guckst du!
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
foo
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
sort -t "," -k4,4 -k1n,1 file_name
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
test
ECMAScript (JavaScript)
test
Submitted by
test
-
9 years ago
2
Currency Amount
PCRE (PHP <7.3)
Format: x0.00 Valid: 13.37 4.20 1.00...
Submitted by
anonymous
-
9 years ago
10
Strip Email ID from Name
PCRE (PHP <7.3)
Use this regex to select all characters up to the "" bracket. It works across multiple lines. You can get an email list with only the IDs. This is the pattern it matches: Alpha Person Step 1 (.*) [$ Step 2 [$.$] (.*) gives you aperson@whatever.org...
Submitted by
Jonathan Davidar
-
9 years ago
1
...
712
713
714
715
716
...
745
HTML TAG WITH VALUE AND CHILDREN
1
Regular Expression
ECMAScript (JavaScript)
/
<
(?<first>
[^
>
]
+
)
>
.
*
?
<
\/
(
\k<first>
)
>
/
g
Open regex in editor
Description
This regex target each html tag with their children and their value
Submitted by
Florian Caron
-
2 years ago