My aim is to turn something like this:
src/com/company/folder/anotherfolder/manyfolders/filename.java
into this:
a few words com.company.folder.anotherfolder.manyfolders filename "description"
I've got it mostly to work with the following find and replace:
Find: (.*?)/(.*?)/(.*?)/(.*?)/(.*?)/(.*?)/(.*?)/(.*?)/(.*?)(\..*)
Replace: a few words $2\.$3\.$4\.$5\.$6\.$7\.$8\040$9\040"description"
Which works okay, however I may have different number of folders, so it won't work in that case.
How can I make it so that it works for any number of folders?