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 11,540 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
6
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-08-31 10:58
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Roblox API Dump Class Inheritance Parser
PCRE (PHP <7.3)
First iteration of Property/(Yield)Function/Event Parser for Roblox API Dump
Submitted by
TickerOfTime
-
8 years ago
2015-08-30 21:56
-3
1 upvotes, 4 downvotes (score 3.6%) (You must be signed in to vote)
Replace abba with ABBA
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-08-30 10:24
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
balanced braces
PCRE (PHP <7.3)
using recursion, atomic group http://stackoverflow.com/questions/26385984/recursive-pattern-in-regex
Submitted by
Casimir et Hippolyte
-
8 years ago
2015-08-28 23:31
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
get js config vars
PCRE (PHP <7.3)
grabs the name and value of any js variables that come before brackets
Submitted by
warnock
-
8 years ago
2015-08-28 21:16
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regex ACL Firewall ASA
PCRE (PHP <7.3)
ASA Firewall ACL hits parser
Submitted by
Tommy Faucher
-
8 years ago
2015-08-28 17:31
8
11 upvotes, 3 downvotes (score 52.4%) (You must be signed in to vote)
If-Then-Else Conditionals
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-08-28 15:52
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
ex_3_b
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-08-27 22:11
3
7 upvotes, 4 downvotes (score 35.4%) (You must be signed in to vote)
Perl
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-08-27 18:20
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
LogFile Alert: Pattern 'Memory queue for message type 1: 3038' found i
PCRE (PHP <7.3)
LogFile Alert: Pattern 'Memory queue for message type 1: 3038' found in /var/log/me
Submitted by
anonymous
-
8 years ago
2015-08-27 15:22
7
10 upvotes, 3 downvotes (score 49.7%) (You must be signed in to vote)
Any positive integer except zero
PCRE (PHP <7.3)
no description available
Submitted by
Harsh
-
8 years ago
2015-08-27 10:04
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Search regex
PCRE (PHP <7.3)
/** this regex should match most cases where the user forgets to put an operator somewhere and add an OR, it still does not handle nested square brackets but those are invalid anyways this page has an explanation https://regex101.com/r/fF7wO1/2 * the way this regex grabs conflicting matches is b...
Submitted by
warnock
-
8 years ago
2015-08-26 17:22
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
valid email matching
PCRE (PHP <7.3)
Pattern matches mails in a single line with right syntax. Exceptions double dots in mail (..) will not handled.
Submitted by
Martin
-
8 years ago
2015-08-26 11:55
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
match all non golang files
PCRE (PHP <7.3)
match all names except those with '.go' extension
Submitted by
Ashish Gaurav
-
8 years ago
2015-08-26 10:23
18
31 upvotes, 13 downvotes (score 55.8%) (You must be signed in to vote)
Date Regex(DD/MM/yyyy)
PCRE (PHP <7.3)
no description available
Submitted by
alcaamado
-
8 years ago
2015-08-26 06:25
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
info@dein-perfekter-moment.de
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-08-26 06:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
小數點前後數字數量
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-08-26 02:21
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Bai 2
PCRE (PHP <7.3)
Phát hiện link website lạ trong trang web của mình. – Đầu vào: https://ok1.url.com http://ok2.url.com https://not.ok.temp.com http://not-ok.either.w3.com...
Submitted by
Nhat Hoang
-
8 years ago
2015-08-25 23:00
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Bai 1
PCRE (PHP <7.3)
Chỉ lấy ký tự trong ngoặc vuông []
Submitted by
Hoang
-
8 years ago
2015-08-25 22:59
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
Remove updir tokens from url
PCRE (PHP <7.3)
Remove /../ recursively from urls
Submitted by
santiagoarizti@gmail.com
-
8 years ago
2015-08-25 22:06
1
...
515
516
517
518
519
520
521
...
577
DateTime: yyyy-M-d-HH-mm-ss (.NET)
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(?'Year'
[
0
-
9
]
+
)
-
(?'Month'
0
{0,1}
[
1
-
9
]
|
10
|
11
|
12
)
-
(?'Day'
[
0
-
2
]
{0,1}
[
1
-
9
]
|
10
|
20
|
30
|
31
)
-
(?'Hour'
[
01
]
{0,1}
[
0
-
9
]
|
2
[
0
-
3
]
)
-
(?'Minute'
[
0
-
5
]
{0,1}
[
0
-
9
]
)
-
(?'Second'
[
0
-
5
]
{0,1}
[
0
-
9
]
)
/
Open regex in editor
Description
Loading markdown...
Submitted by
CryoCZ
-
8 years ago
2015-07-31 21:50