
REGEX, groups and matching
Hey guys, I'm just now learning about alot of the regex class capabilities.
I have been reading wrox string manipulation handbook. I'm having a hard
time grasping how to do something and I am hoping you guys can help :)
I am trying to pull the following line apart
c:\path1\path2\path3\filesname.txt
I want the following to happen
Path="c:\path1\path2\part3"
Filename = "filename.txt"
I was playing around with groups try to use the \ as the group and to grab
the text after the last \ but I am having problems.
Any input would be appreciated!
--
------------------------
Whenever man comes up with a better mousetrap, nature immediately comes up
with a better mouse. - James Carswell