Community Patterns

Community Library Entry

0

Regular Expression
Created·2018-09-22 22:08
Flavor·Python

r"
^((?:~?\/)|(?:(?:\\\\\?\\)?[a-zA-Z]+\:))(?:\/?(.*))?$
"
gm
Open regex in editor

Description

  • C:/path
  • \?\C:[/]path
  • /path
  • ~/path
Submitted by anonymous