in reply to Re^3: Parse file, split
in thread Parse file, split

Yeah, field limits did the trick

split(/\t/, $_, 3) worked out.

What I want to do now is, I have a text file that lists the whole folder hierarchy.for example

C:\xx\yy\Desktop\BadWrap 2011\2011 Chevy Camaro C:\xx\yy\Desktop\BadWrap 2011\2011 Chevy Camaro\JPEG\11_Chevy_Camaro D +river.jpg

I think I only want to now have two columns of info, one being the path and the second being the final folder/image. I don't want to modify the folder names/path, so I can't use the delimiter of \s+ or \t. Is there a way to make it only the last "\" seen per line?