I just can't get my head round this regexp thing.
Basically, I have a folder full of files, and i want to rename them. Each file has a particular string in it (of a particular format) that i want to isolate, but strip text from either side, and keep a bit of the text plus an extension at the end.
i hope you can follow that. i want to strip the start, then keep the x1y1 (but this changes depending on the file!), remove a bit of text after this and then keep the next part plus the extension.
there is probably an easier way of explaining how to do what i need, but i just wanted to be clear (or try to be).
basically, all the files should end up after rename as
Btw, the dots you see in the filename don't necessarily have to exist, except for this bit which is absolute: .keepthispartandthe.ext, and must have the dots where they are.
hope that clears it up for anyone who can help!