#1 : 29/01-15 06:16
Can't figure out how to remove a space that is right before the extension. (i.e. "Video 1 .mkv" to "Video 1.mkv")
#2 : 29/01-15 08:06
Reply to #1:
Remove space char before extension.
- - -
No JS need but a simple RegEx:
(Note: instead of an space char, I visualized it by a #-char to make it more outstanding)
- - -
But AdvancedRenamer has also a very useful tool for such cases:
Use this method to remove unwanted spaces, dashes, and other
unwanted characters from the beginning and end of the filename.
If this tool had saved you time, perhaps you want to donate an Dollar to Kim?
See http://www.advancedrenamer.com/download >>> [Donate] button.
29/01-15 08:06 - edited 29/01-15 08:08
#3 : 29/01-15 08:21
Reply to #2:
Wow I feel dumb, thought trim would just remove all spaces if I set it to trim spaces, that ones my fault for not reading the docs I guess lol.
Also need to learn more about regEx too I guess...
Thanks for the help though, much appreciated!