As part of fortify fix we need to validate a filepath. For example, 

1. `"C:/Users/<username>/sample1.txt"`
2. `"C:\Users\<username>\sample1.txt"`

We have tried with the below regex for validating the above paths but we ended up with error when a filepath contains `\`.
So please suggest the valid regex which can accept both the slashes in a filepath.

```
Validator.FilePath=.*[\\]\\[!"#$%&'()_*+,/:;<=>?@\\^`{|}~].*

```