I want to convert my filename from 'Nothing Else Matters' to 'NothingElseMatters'.
What regular exp should i use to achive this?
thanks
I want to convert my filename from 'Nothing Else Matters' to 'NothingElseMatters'.
What regular exp should i use to achive this?
thanks
For just one filename i would use the explorer.
if there are more files to be renamed, I am not quite sure whether a search/replace on the pseudo variable filename works.
If it does not:
format a custom tag with the name e.g. "newfilename" with %_filename%.
replace all blanks in "newfilenmae" with nothing with a simple replace action.
copy the value of newfilename into the pseudo tag %_filename%.
the FAQ
/t/967/1
shows you how to copy values from one tag to another.
Action: Replace
Field: _FILENAME
Original: " " (without quotationmarks, just a single space)
Replace with: "" (without quotationmarks, just nothing)
you need no custom help fields and you can perform this action with as many files as you want.
The following calls of the $regexp() function give all the same result.
From:
Nothing Else Matters.mp3
To:
NothingElseMatters.mp3
... or use a standard replace function ...
$replace(%_filename%, ,) $replace(%_filename%,' ',)DD.20110217.2213.CET