Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 13,000 community submitted regex patterns...
10
11 upvotes, 1 downvotes (score 64.6%) (You must be signed in to vote)
UUID
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2014-12-01 17:13
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
sdf
PCRE (PHP <7.3)
sdf
Submitted by
sdf
-
9 years ago
2014-12-01 13:36
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Links in Markup
PCRE (PHP <7.3)
Find Links in HTML Markup
Submitted by
someone
-
9 years ago
2014-12-01 13:18
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
kewai
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-12-01 12:27
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
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
2014-11-30 23:28
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
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
2014-11-30 21:17
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
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
2014-11-30 18:31
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
zohar look
PCRE (PHP <7.3)
for 8 tracks
Submitted by
avner
-
9 years ago
2014-11-30 16:56
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
/The.+Knick.+1x.+720p.+/i
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-11-29 19:39
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Stackoverflow
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-11-29 16:19
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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
2014-11-28 23:34
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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
2014-11-28 10:24
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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
2014-11-27 13:03
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
hs
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-11-27 07:01
3
7 upvotes, 4 downvotes (score 35.4%) (You must be signed in to vote)
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
2014-11-26 23:50
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
congratulation
PCRE (PHP <7.3)
very nice helper
Submitted by
fred
-
9 years ago
2014-11-26 22:04
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Guckst du!
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-11-26 17:33
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
foo
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-11-26 14:17
1
3 upvotes, 2 downvotes (score 23.1%) (You must be signed in to vote)
sort -t "," -k4,4 -k1n,1 file_name
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-11-26 09:55
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
test
ECMAScript (JavaScript)
test
Submitted by
test
-
9 years ago
2014-11-25 23:26
1
...
618
619
620
621
622
623
624
...
650
A few Australian address parser
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
(
(?<AddressType>
\w
+
\s
*
)?
(?<Unit>
\d
+
\s
*
)
\/
)?
(?<StreetNumber>
(
\s
*
(
\d
+
\w
+
)+
)
|
(
(
\s
*
\d
+
\s
*
\-
\s
*
\d
+
)
)
)
(?<StreetNameAndType>
(?<StreetType>
\s
+
\w
+
)+
)
\s
*
[
,|.
]
?
\s
*
(?<Suburb>
[
\w\s
]
+
)
\s
+
(?<PostCode>
\d
{4}
)
$
/
mig
Open regex in editor
Description
Loading markdown...
Submitted by
Dennis Deljouei
-
9 years ago
2014-11-18 22:42