Search found 3 matches

by Kotty
28.06.2016, 22:56
Forum: General Discussion
Topic: Switch strings in filenames with regex?
Replies: 5
Views: 8828

Re: Switch strings in filenames with regex?

Glad to help. :)

Kotty
by Kotty
28.06.2016, 15:20
Forum: General Discussion
Topic: Switch strings in filenames with regex?
Replies: 5
Views: 8828

Re: Switch strings in filenames with regex?

Hi,
I think following regex should do the trick.

Search for:

Code: Select all

([^.-]+)\s\-\s([^.-]+)
'Replace with' regex stays the same.

Regards,
Kotty
by Kotty
26.06.2016, 22:27
Forum: General Discussion
Topic: Switch strings in filenames with regex?
Replies: 5
Views: 8828

Re: Switch strings in filenames with regex?

Hi there,

I think following lines should do the trick, however I'm no regex-pert, so keep that in mind and test it out properly before proceeding.

Search for:

Code: Select all

([\w+\s|\w+]{1,})\s\-\s([\w+\s|\w+]{1,})
Replace with:

Code: Select all

$2\ \-\ $1
Hope it helps.

Regards,
Kotty