Is it possible to have a wildcard replacement rule for renaming a specific filename formatted as follows

Advanced Renamer forum
#1 : 01/09-19 03:52
Zach
Zach
Posts: 1
Let us say I have a file called:


Movie_Name #2008 #horror #action #live #fantasy.mp4

I want to have the file be renamed where all the words next to the "#" are removed so I get this:

Movie_name.mp4

Is there a way to sort of like have a wildcard replacement rule? I understand I can just keep adding multiple replace using the "\" but other file names would have different words after the #.

Is there a 1 line command that I can use instead?

Thanks.


01/09-19 03:52
#2 : 01/09-19 07:46
David Lee
David Lee
Posts: 1125
Remove pattern <space>#.*
Use regular expressions



01/09-19 07:46