Newbee21369
Programmer
I'm trying to parse each path that is found between: /usr/ AND /tape/
while ignoring the case.
1. /usr/tmhp/data/mark/Erco/from_Erco/archive/tape/501046515504800.x12
2. /usr/ltmhprod/data/GIS/MorganS/From_MorganS/Archive/tape/5010465155048.x12
3. /usr/ltmhprod/data/CI/From_CI/Archive/tape/50104651550.x12
I'm expecting the following results:
1. tmhp/data/market/Erco/from_Erco/archive
2. ltmhprod/data/GIS/MorganS/From_MorganS/Archive
3. ltmhprod/data/CI/From_CI/Archive
Any suggestions on how to do this? Thanks in Advance.
while ignoring the case.
1. /usr/tmhp/data/mark/Erco/from_Erco/archive/tape/501046515504800.x12
2. /usr/ltmhprod/data/GIS/MorganS/From_MorganS/Archive/tape/5010465155048.x12
3. /usr/ltmhprod/data/CI/From_CI/Archive/tape/50104651550.x12
I'm expecting the following results:
1. tmhp/data/market/Erco/from_Erco/archive
2. ltmhprod/data/GIS/MorganS/From_MorganS/Archive
3. ltmhprod/data/CI/From_CI/Archive
Any suggestions on how to do this? Thanks in Advance.