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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 11,840 community submitted regex patterns...
1
BEM for css
PCRE (PHP <7.3)
no description available
Submitted by
giacomozinetti
-
9 years ago
0
Parse date between 1000 and 2012 in format(YYYY/MM/DD HH:MM)
PCRE (PHP <7.3)
This my first regExp)
Submitted by
Andy
-
9 years ago
1
Youtube ID
PCRE (PHP <7.3)
get youtube video ID
Submitted by
anonymous
-
9 years ago
1
Parse Logs
PCRE (PHP <7.3)
Parsing Logs http://stackoverflow.com/questions/32067661/regex-get-all-text-after-pattern-from-log-c-sharp/32067747#32067747 Avinash Raj http://stackoverflow.com/users/3297613/avinash-raj
Submitted by
Avinash Raj
-
9 years ago
1
Parse Logs
PCRE (PHP <7.3)
http://stackoverflow.com/questions/32067661/regex-get-all-text-after-pattern-from-log-c-sharp/32067747#32067747
Submitted by
anonymous
-
9 years ago
1
Parse Logs
PCRE (PHP <7.3)
http://stackoverflow.com/questions/32067661/regex-get-all-text-after-pattern-from-log-c-sharp/32067747#32067747
Submitted by
anonymous
-
9 years ago
1
HTTP => HTTPS
PCRE (PHP <7.3)
Force all URLs to HTTPS.
Submitted by
WhatIsHeDoing
-
9 years ago
1
Cleaning up epub converts
PCRE (PHP <7.3)
no description available
Submitted by
Cory
-
9 years ago
1
aabc lazy capture
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
C2D: Outbound_id
PCRE (PHP <7.3)
no description available
Submitted by
EnigmaSoft
-
9 years ago
1
C2D: Callee
PCRE (PHP <7.3)
agent extension external agent
Submitted by
EnigmaSoft
-
9 years ago
1
C2D: Callee
PCRE (PHP <7.3)
no description available
Submitted by
EnigmaSoft
-
9 years ago
1
C2D: Call reference
PCRE (PHP <7.3)
no description available
Submitted by
EnigmaSoft
-
9 years ago
0
XenForo Add version Number to Footer
PCRE (PHP <7.3)
If using XenForo create a TMS (template adaption) for 'footer', select RegExp and enter this. Possibly you have to replace the \n in the substitution with real new lines so just press enter there.
Submitted by
rugk
-
9 years ago
1
Regex subtitle Add
PCRE (PHP <7.3)
Add 9 seconds to subtitle timing with Regex if feasible.
Submitted by
V.S.
-
9 years ago
1
open_knowledge
PCRE (PHP <7.3)
no description available
Submitted by
stephan.mueller@openknowledge.de
-
9 years ago
1
polish post code
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
catch Loadcase Name
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
UAE phone numbers
PCRE (PHP <7.3)
no description available
Submitted by
sathik ali
-
9 years ago
1
url validation
PCRE (PHP <7.3)
matches http/https/www or without, also validates encoded
Submitted by
_sss_
-
9 years ago
1
...
76
77
78
79
80
...
592
Full Best URL Regex Match
3
Regular Expression
PCRE (PHP <7.3)
/
^
(?<protocol>
[
a
-
z
\-
]
+
)?
:
?
(?<slash>
\/\/
)?
(?<host>
[
a
-
zA
-
Z0
-
9
\.
]
+
)?
(?P<port>
:
\d
+
)?
$
/
gm
Open regex in editor
Description
Best Full URL Regex to match URL, This is simple and can match 64K of url regex under 77ms
Regex Matches All Below and more:
https://example.domain
http://example.domain
//example.domain
//example.com
https://example.com:34
//example.com:23
example.com
Submitted by
divineniiquaye
-
3 years ago