Advertisement

04.29.2008 at 04:31PM PDT, ID: 23363986
[x]
Attachment Details

regexp to parse total file path -> path, file, and ext

Asked by rabroersma in Regular Expressions, Access Coding/Macros

Tags: Microsoft, MS-Access, 2003, createobject("vbscript.regexp"), regular expression

Does any one know of a regular expression pattern that can simultaneously find the file path, file name, and file extension?

for example for the string: "c:\windows\temp\foo.bar "
find the following matches:
  "c:\windows\temp"
  "foo"
  "bar"

or another example: "\\fileserver\share\temp\foo.bar"
  "\\fileserver\share\temp"
  "foo"
  "bar"
Thanks in advance!Start Free Trial
 
 
Loading Advertisement...
 
[+][-]04.29.2008 at 05:33PM PDT, ID: 21467339

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Regular Expressions, Access Coding/Macros
Tags: Microsoft, MS-Access, 2003, createobject("vbscript.regexp"), regular expression
Sign Up Now!
Solution Provided By: RQuadling
Participating Experts: 3
Solution Grade: A
 
 
[+][-]04.29.2008 at 06:16PM PDT, ID: 21467476

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 06:25PM PDT, ID: 21467509

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 06:25PM PDT, ID: 21467510

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 07:33PM PDT, ID: 21467745

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 07:55PM PDT, ID: 21467804

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 09:12PM PDT, ID: 21468024

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 09:59PM PDT, ID: 21468173

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 11:29PM PDT, ID: 21468487

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628