Remove regex from windows path.