3
Answers

Regex to Validate a filename

David Smith

David Smith

11y
1.6k
1
How to validate if the string has a filename along with the path review below.

I am looking for a regex that validates if the string has a filename along with the path. review below.


Example:

C:\temp\ Incorrect because of ";" Incorrect

C:\temp\example.txt
  Correct

Answers (3)
Next Recommended Forum