12
Answers

Regex for a valid filepath filename extension

Photo of David Smith

David Smith

11y
26.7k
1
I am looking for a regex that validates a couple of things.

1.Validate is the string is a valid filepath.
2. Validate if the extension has a '.xml' extension.

Answers (12)