replace with next at start of name

Bulk Rename Utility How-To's

replace with next at start of name

Postby fodbrothers » Mon Feb 07, 2022 8:47 pm

Hi I want to know how to do the following please

replace "- the " with "the " but at position 1
example
ice man - the
to
the ice man

but some files have not got - the in the title so I want these left alone as I know a way to add "the" at the start of all file names and remove " - the "

many thanks in advance
fodbrothers
 
Posts: 2
Joined: Mon Feb 07, 2022 8:42 pm

Re: replace with next at start of name

Postby fodbrothers » Mon Feb 07, 2022 9:03 pm

solved it

so anyone with the same issue it was done by the following


RegEx (collum 1)
match
(.*?) - the (.*)
replace
The \1 \2
fodbrothers
 
Posts: 2
Joined: Mon Feb 07, 2022 8:42 pm


Return to How-To