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 14,640 community submitted regex patterns...
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
split URL in protokoll, domain, file(with path), parameter and anker
PCRE (PHP <7.3)
split URL in protokoll, domain, file(with path), parameter and anker
Submitted by
Candyman
-
8 years ago
2016-01-26 09:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
get parts of URL
PCRE (PHP <7.3)
split URL in protokoll, domain, file(with path), parameter and anker
Submitted by
Candyman1332
-
8 years ago
2016-01-26 09:17
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Library, New Books
ECMAScript (JavaScript)
Used on "http://adi.sunyconnect.suny.edu:4610/adi_new_book.html" to get the URL, Call Number, Title, and Author of all the new books listed.
Submitted by
Daniel Foote
-
8 years ago
2016-01-26 01:43
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
0-360phil
PCRE (PHP <7.3)
For phil
Submitted by
Serg Kronrod
-
8 years ago
2016-01-25 21:33
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
CSV: Escape double quotes (") in quoted cells (v1.0)
Python
A stable and simple RegEx, which escapes double-quotes (") in a CSV file.
Submitted by
rugk
-
8 years ago
2016-01-25 19:15
4
4 upvotes, 0 downvotes (score 51%) (You must be signed in to vote)
Version Matcher
PCRE (PHP <7.3)
Matches version strings.
Submitted by
anmols
-
8 years ago
2016-01-25 18:44
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Units RegExp
ECMAScript (JavaScript)
no description available
Submitted by
Javier Matusevich
-
8 years ago
2016-01-25 18:27
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Button Online State Regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2016-01-25 16:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
match dev URL
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2016-01-25 16:50
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Forecast.io API's required ISO 8601 datetime
PCRE (PHP <7.3)
Should match one of the valid ISO 8601 datetime formats accepted by Forecast.io API: [YYYY]-[MM]-[DD]T[HH]:[MM]:[SS] with an optional time zone formatted as Z for GMT time or {+,-}[HH]:[MM] (with or without separating colon) for an offset
Submitted by
Clifford Paulick
-
8 years ago
2016-01-25 15:43
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
not a character and not spaces
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2016-01-25 15:02
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Capture a tagged Number given in quotes within a free text
PCRE (PHP <7.3)
PN"+)["]
Submitted by
OS
-
8 years ago
2016-01-25 14:07
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
simple IPv6 check
ECMAScript (JavaScript)
This performs a non-rigorous validation of IPv6 addresses. Should be used before handing off the value to a better parser/validator.
Submitted by
anonymous
-
8 years ago
2016-01-25 13:01
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
basic emails with separator
PCRE (PHP <7.3)
infinite emails with ; separator a@b.c;a@b.c;a@b.c;a@b.c;a@b.c
Submitted by
gcolciago
-
8 years ago
2016-01-25 08:41
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
end
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2016-01-25 08:28
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
ddd
Python
no description available
Submitted by
anonymous
-
8 years ago
2016-01-25 07:37
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
US datetime
ECMAScript (JavaScript)
Validates a US mm-dd-yy(yy) with an optional hh:mm:ss time.
Submitted by
anonymous
-
8 years ago
2016-01-25 00:11
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
pronouceable strings
PCRE (PHP <7.3)
find pronouceable 10 letter srings that are either all caps or all lowercases based on jsbin.com pronouceable urls
Submitted by
anonymous
-
8 years ago
2016-01-24 19:11
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Fix Card Def
PCRE (PHP <7.3)
no description available
Submitted by
yyrkroon
-
8 years ago
2016-01-24 15:29
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Outode
PCRE (PHP <7.3)
Capture the outcode portion (first half) of a UK Post Code.
Submitted by
Nike Begbaaji
-
8 years ago
2016-01-24 12:23
1
...
574
575
576
577
578
579
580
...
732
832821(1)
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
Python
r"
^
(?:
[
0
]
$
)?
(
(?:
\+
|
\-
)?
[
1
-
9
]
{1,3}
(?:
[
0
-
9
]
{1,2}
)?
(
,
[
0
-
9
]
{3}
)*
?
)?
$
"
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
8 years ago
2016-01-20 05:59