Remove Wildcard Pattern

Advanced Renamer forum
#1 : 13/01-23 12:12
Emily
Emily
Posts: 8
Hi,

I'm sorry that I don't know regular expressions but we have hundreds of files all named in a similar way to the following. 'code' 'space' 'hypen' 'space' 'description of product'.jpg

e.g:
12345ABC - Large Red Shirt.jpg

I need them all to just be 'code'.jpg
e.g.
12345ABC.jpg

How to I remove everything between (and including) the first space to the end of the product description please?

Many thanks in advance.


13/01-23 12:12
#2 : 13/01-23 13:12
David Lee
David Lee
Posts: 1125
You don't need a regular expression for this.

Simply use....

Remove pattern: " *"

ie space + asterisk


13/01-23 13:12
#3 : 13/01-23 16:59
Emily
Emily
Posts: 8
Reply to #2:

Thank you very much. I will try this!


13/01-23 16:59