Hi!
First, thank you for this very helpful software.
Here my problem:
I want to trim a file name very strong.
For example:
Dmitri Gluchowski - Metro 2033.rar
Result: DG-M2033.rar
Or another example:
Adam Nevill - Im tiefen Wald.rar
Result: AN-ItW.rar
In other words trim every white space and shorten every word to one single letter, but leaving numbers alone.
Is this somehow possible?
Thanks
Rough String Trimming
Re: Rough String Trimming
Hi,
If possible, it would be with Regular Expressions.
I don't know these expressions enough to provide a definitive answer (even if I use them often) - there may be a way but I'm not sure how.
If possible, it would be with Regular Expressions.
I don't know these expressions enough to provide a definitive answer (even if I use them often) - there may be a way but I'm not sure how.
Re: Rough String Trimming
Maybe i have th re-think the problem.
Another way could be, that i use the change case process and make every word starting with upper case. And then trim every lower case and white space.
For example:
Das Ist Ein Test - Test 2000.part1.rar
Resulting:
DIET-T2000.part1.rar
My problem is, that i really don't understand how this regex stuff works.
Another way could be, that i use the change case process and make every word starting with upper case. And then trim every lower case and white space.
For example:
Das Ist Ein Test - Test 2000.part1.rar
Resulting:
DIET-T2000.part1.rar
My problem is, that i really don't understand how this regex stuff works.
Re: Rough String Trimming
That will work if you use the regex
[a-z\s]
replaced by an empty string as new name template
However it will also strip the extension if it is itself in lowercase; so maybe first put the extension in uppercase (including "partN" of the rar)
[a-z\s]
replaced by an empty string as new name template
However it will also strip the extension if it is itself in lowercase; so maybe first put the extension in uppercase (including "partN" of the rar)