3
Reply

Regex to Validate a filename

David Smith

David Smith

Aug 5 2013 5:01 PM
1.2k
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