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 9,440 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Check fr date format
PCRE (PHP <7.3)
no description available
Submitted by
Kerosene
-
10 years ago
2014-04-03 15:32
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
myregex
PCRE (PHP <7.3)
no description available
Submitted by
shakti
-
10 years ago
2014-04-03 10:30
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
select stuff of </a> [beta]
PCRE (PHP <7.3)
no description available
Submitted by
Kerosene
-
10 years ago
2014-04-03 00:43
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
get all title value && all the text in <a/>
PCRE (PHP <7.3)
no description available
Submitted by
Kerosene
-
10 years ago
2014-04-02 23:30
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
css all comments
PCRE (PHP <7.3)
no description available
Submitted by
Mitus M.
-
10 years ago
2014-03-30 13:12
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
gk
PCRE (PHP <7.3)
wertyuikjh
Submitted by
hjk
-
10 years ago
2014-03-28 11:28
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
In a pipe separed list of values check for a concrete one
PCRE (PHP <7.3)
no description available
Submitted by
furbypaloma
-
10 years ago
2014-03-28 10:16
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
background:url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2014-03-27 06:03
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
background:url
PCRE (PHP <7.3)
no description available
Submitted by
Mitus M.
-
10 years ago
2014-03-26 11:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
background:url
PCRE (PHP <7.3)
no description available
Submitted by
Mitus M.
-
10 years ago
2014-03-26 11:02
35
236 upvotes, 201 downvotes (score 49.3%) (You must be signed in to vote)
http://
PCRE (PHP <7.3)
no description available
Submitted by
Mitus M.
-
10 years ago
2014-03-26 06:44
-3
3 upvotes, 6 downvotes (score 12.1%) (You must be signed in to vote)
Date and Time
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2014-03-25 16:35
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Grab double or single quoted text, escape aware
PCRE (PHP <7.3)
^$ are only added for the test cases, handles escapes and the closing \\" situation
Submitted by
robin
-
10 years ago
2014-03-25 10:09
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Inside single quotes, escape aware
PCRE (PHP <7.3)
Allows the single quote to be escaped, handles the \\' situation
Submitted by
Robin
-
10 years ago
2014-03-25 10:03
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
ArcSight Administrator
PCRE (PHP <7.3)
It's to activate when storage space reaches 75% capacity
Submitted by
Michal Starr
-
10 years ago
2014-03-24 15:42
0
3 upvotes, 3 downvotes (score 18.8%) (You must be signed in to vote)
Match all parts of the valid JSON
PCRE (PHP <7.3)
Originally written by Pumbaa80, but slightly adjusted: http://stackoverflow.com/questions/4810841/how-can-i-pretty-print-json-using-javascript
Submitted by
Pumbaa80
-
10 years ago
2014-03-20 22:29
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
Episode numbering below 100
PCRE (PHP <7.3)
Simplest form to match all the episode numbering versions I could remember that don't use incremental numberign without seasons.
Submitted by
SEKCobra
-
10 years ago
2014-03-20 08:53
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
php comment
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2014-03-19 14:46
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Parse drupal version info from filename
PCRE (PHP <7.3)
no description available
Submitted by
Jason Smith
-
10 years ago
2014-03-18 15:02
11
42 upvotes, 31 downvotes (score 46.1%) (You must be signed in to vote)
Date(Including Leap Year) YYYY-MM-DD hh:mm:ss
PCRE (PHP <7.3)
Validates DateTime of format YYYY-MM-DD hh:mm:ss including Leap Year
Submitted by
Madhan
-
10 years ago
2014-03-14 16:49
1
...
463
464
465
466
467
468
469
...
472
Episode numbering below 100
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(
\d
+
)
(
\d\d
)
|
(
\d
+
)
.
(
\d
+
)
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
SEKCobra
-
10 years ago
2014-03-20 08:53