- Sep 11, 2005
- 17,571
- 8
- 0
I want to copy a file path and remove the first parts of the result. For example, I want to turn this:
into this:
I already have an Automator action set up to copy the file path. What I want to do is use regex (or something else) to remove the parts mentioned.
Any suggestions? Is regex the best way or should I just kill myself now?
Code:
/Users/xanis/Dropbox (Work)/Client Projects/BigClient/somefile.jpg
into this:
Code:
BigClient/somefile.jpg
I already have an Automator action set up to copy the file path. What I want to do is use regex (or something else) to remove the parts mentioned.
Any suggestions? Is regex the best way or should I just kill myself now?