Description |
Does not validate. For parsing a file name known to be valid. Handles periods in the file name. Does not include terminating characters in the output, as preferred. Javascript exec() method produces the following array elements: [1]=drive; [2]=path; [3]=filename; [4]=extension; Matching Example 1 output: [1]=d
[2]=\p.p\p
[3]=f.f
[4]=e
Matching Example 2 output: [1]=[undefined]
[2]=[empty string]
[3]=f
[4]=[undefined] |