View previous topic :: View next topic |
Author |
Message |
pappabees
Joined: 12 Feb 2010 Posts: 5
|
Posted: Mon Sep 22, 2014 9:00 pm Post subject: Move fields around and bulk ending |
|
|
I would like to move some fields around and add dashes between a few but not others. also I would like to know if there is a way to grab all fields after a certain field.
Example
filename: Grimm - S01E02 season of the hexbeast.mkv
I have other episodes that are of various lengths
I have tried
(?x)(.*) - (?x)(.*) (?x)(.*) (?x)(.*) (?x)(.*) (?x)(.*) (?x)(.*) (?x)(.*)
replace
\1 - \2 - \3 \4 \5 \6 \7 \8
I get wierd results with dashes after the .mkv i.e. .mkv -
also is there a way to not have to have all 8 fields if I want to say leave everything after field 5 the same.
thank you |
|
Back to top |
|
 |
admin Site Admin
Joined: 09 Mar 2007 Posts: 448 Location: Canada
|
Posted: Wed Oct 01, 2014 5:45 am Post subject: |
|
|
Here's an example with 3 fields (do not copy the single quotes when copy/paste to the customer renaming creator):
Row: 1
Search: '(?E)^(.*?) [-] (.*?) (.*)'
Replace: '\2 - \1 - \3'
Changes:
Grimm - S01E02 season of the hexbeast.mkv
To:
S01E02 - Grimm - season of the hexbeast.mkv
Use (.*) at the end to grab all fields after a certain field.
Hope that helps. |
|
Back to top |
|
 |
|