Strip Special Characters from Filename

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Strip Special Characters from Filename Wed Jan 07, 2015 5:25 pm • by anotherspot
Hello all,

I am looking for an efficient rule that will strip some special characters which are not Windows / Dropbox friendly from filenames - specifically

\ Back slash
/ Forward slash
? Question mark
* Asterisk
" Quotation mark
: Colon
< Less than
> Greater than
# Hash mark
% Percent sign

I still wish to keep brackets, spaces, underscores and dashes so a lot of the regex code out there will not work for me. Just hoping someone has tackled this already.
anotherspot
 
Posts: 2
Joined: Tue May 24, 2011 6:10 am

Re: Strip Special Characters from Filename Thu Jan 08, 2015 12:44 pm • by Mr_Noodle
If you click on an attribute in a rename pattern, you'll see a "Replace text" option. You should be able to use that to strip those characters out.
Mr_Noodle
Site Admin
 
Posts: 11273
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support