#1 2020-07-24 13:54

grepmoth
Member
Registered: 2020-07-24
Posts: 5

Remove hashtags from filename

How do I delete hashtags from filename?

Example:

Linkin Park #breaking #the #habit music video.mp4

to

Linkin Park music video.mp4

Any help would be appreciated.
Thanks.

Last edited by grepmoth (2020-07-24 13:55)

Offline

#2 2020-07-24 15:30

Stefan
Moderator
From: Germany, EU
Registered: 2007-10-23
Posts: 1,161

Re: Remove hashtags from filename

- - - delete hashtags (#something) from filename - - -


FROM:
Linkin Park #breaking #the #habit music video.mp4

TO:
Linkin Park music video.mp4


USE:
https://www.den4b.com/wiki/ReNamer:Rules:RegEx
Expression: #.+?\s
Replace:



Explanation:
Match # (#) following by one-or-more (+) of any sign (.), but non-greedy (?), till next space (\s)
Replace with nothing

For more see >> https://www.den4b.com/wiki/ReNamer:Regular_Expressions



HTH?


 


Read the  *WIKI* for HELP + MANUAL + Tips&Tricks.
If ReNamer had helped you, please *DONATE* to Denis or buy a PRO license. (Read *Lite vs Pro*)

Offline

#3 2020-07-24 23:55

grepmoth
Member
Registered: 2020-07-24
Posts: 5

Re: Remove hashtags from filename

Thanks so much! It worked!

Offline

Board footer

Powered by FluxBB