Remove all non-ASCII in Section 5?

Would you like Bulk Rename Utility to offer new functionality? Post your comments here!

Remove all non-ASCII in Section 5?

Postby Nitrogen » Mon Jan 27, 2025 8:10 pm

Hi,

i download a lot of audio files from YouTube channels lately in bulk and there are tons of these emojis in the filenames like hearts and fire symbols and rabbits etc

is it possible to add a checkbox to remove all emojis or preferably, remove all non-ASCII (0-127?) maybe at section 5 ?

or maybe there is already an easy way to do this that i am unaware of?
Nitrogen
 
Posts: 2
Joined: Mon Jan 27, 2025 8:01 pm


Re: Remove all non-ASCII in Section 5?

Postby Nitrogen » Mon Jan 27, 2025 9:27 pm

thank you
Nitrogen
 
Posts: 2
Joined: Mon Jan 27, 2025 8:01 pm

Re: Remove all non-ASCII in Section 5?

Postby Admin » Tue Jan 28, 2025 12:25 am

Hi, just wanted to add to this that, if you are using the latest version of BRU, you can remove many symbols using the "Sym." option in Remove (5).
This option will remove all symbols !£$%^&*()-_=+[]{};:'@#~,.<>/?\\|`¬¦ from name and it will also remove General Punctuation, Arrows, Miscellaneous Symbols, Dingbats, Miscellaneous Symbols and Pictographs, Emoticons, Transport and Map Symbols Alchemical Symbols, Geometric Shapes Extended, Supplemental Symbols and Pictographs, and Latin-1 Supplement symbols.
Admin
Site Admin
 
Posts: 2923
Joined: Tue Mar 08, 2005 8:39 pm

Re: Remove all non-ASCII in Section 5?

Postby TheGhost78 » Tue Jan 28, 2025 11:34 am

I use this formula in RegEx (1) and Filters (12). The characters between [^ and the last ] are what you want to keep. Any character not included here will be removed.

[Regular Expressions]
Match="[^A-Za-z0-9@_',;!£$€%&=#~ \`\^\-\+\[\]\(\)\{\}\.]+"
Replace=""

[Selections]
Filter="[^A-Za-z0-9@_',;!£$€%&=#~ \`\^\-\+\[\]\(\)\{\}\.]+"
Filter Match Case=0
Filter Use Regex=1
Files=1
Folders=1
Subfolders=1
TheGhost78
 
Posts: 181
Joined: Fri Jul 19, 2024 11:25 am


Return to Suggestions