Use regular expression on Windows