I am not a programmer, but I tried to make some regular expression and hit the wall. I was hoping to find some help, I am trying to analyze the data in a log file, and I am having the following problem:
I have a test.csv file that consists of several entries of one line from another program that creates the following layout format:
- d: \ snow \ dir.txt
- d: \ snow \ story \ dir.tff
- d: \ snow \ history \ help.jar
- d: \ winter \ show \ help.txt
- d: \ summer \ beach \ ocean \ swimming.txt
What I want is to remove the file names from the path list, so the resulting file will contain:
- d: \ snow \
- d: \ snow \ story \
- d: \ snow \ story \
- d: \ winter \ show \
- d: \ summer \ beach \ ocean \
perl, . , , , , perl python.
,