Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
r"
^ (?P<uri>file://)? (?P<path>(?:/?[A-Z]{1}:)? # start of path capture, optional windows top-level directory [\\/]? # optional start separator (?:[-. \w]+[\\/])+) # path (?P<filename>\.?[^.\n]+?(?=\.(?P<extension>.+$)|$))?
"
gxm
Unit Tests
There are no unit tests.
Add unit test