Added dash "-" to regex for path replacements