Remove Wildcard Pattern
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.
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.
You don't need a regular expression for this.
Simply use....
Remove pattern: " *"
ie space + asterisk
Simply use....
Remove pattern: " *"
ie space + asterisk
Reply to #2:
Thank you very much. I will try this!
Thank you very much. I will try this!