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
Community Patterns
Search among 9,640 community submitted regex patterns...
0
Additional
PCRE (PHP <7.3)
Splitting Additionalname in Basename and Specification
Submitted by
JK
-
9 months ago
(Last modified 8 months ago)
1
...
480
481
482
regex101.com id grabber
483
Regular Expression
PCRE (PHP <7.3)
/
^
http
(?:
s
?
)
:
\/
{2}
regex101
\.
com
\/
r
\/
(
[
a
-
zA
-
Z0
-
9
]
{1,6}
)?
$
/
gm
Open regex in editor
Description
grabs the ID for the regex101.com permalink to code
Submitted by
chris mccoy
-
10 years ago
(Last modified 8 months ago)