|
|
#1 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 16
Karma: 1048
Join Date: Jan 2012
Device: Kindle for Windows
|
Bulk move 'The' and 'A' to end of Title
Is there a way of automating conversion to 'xxxxx xxx, The' and 'xxxx xxxx, A'. I can use a regex in Search and Replace to remove 'The" and 'A', but there doesn't seem a way to add them to the end. Without creating a new column with the modified values and hiding the original. |
|
|
|
|
|
#2 | |
|
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,303
Karma: 11288999
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7, Sony PRS-950, Sony PRS-505, PRS-300
|
Quote:
Even though the titles will still show 'The xxxxx xxxx' and "A xxxx xxxx' they will sort as 'xxxxx xxxx, The' and "xxxx xxxx, A'.
__________________
-- Good Reading, Walt -- 20GB of free CLOUD STORAGE: Use this link to sign up for a free 15GB Copy.com cloud storage account and we both get an extra 5GB of free space. |
|
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,127
Karma: 77366
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Using a regex for this should be possible. You just need to use named back references and write one expression to capture The and A, and the other to capture the rest of the title. Then it's trivial to reorder them in the replace expression
__________________
I reject your reality and substitute my own. |
|
|
|
|
|
#4 |
|
Handy Elephant
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 467
Karma: 1177340
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Ubuntu Linux, Cybook Opus, Motorola Xoom with Mantano
|
Search for: A (.*)
And replace with: \1, A Or The (.*) \1, The But it is better to use the tweak described above. The title is what it is, you typically only wish to change the sort order. Last edited by Adoby; 01-28-2013 at 09:31 AM. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Title bulk edit match - to remove series info from title | Rob557 | Library Management | 6 | 08-14-2012 11:01 AM |
| Bulk title replacements | mumdigau | Recipes | 0 | 07-22-2012 12:34 PM |
| Four Squares Appear at the End of the Title | raczyk | Recipes | 7 | 03-17-2012 09:50 PM |
| Bulk Title Mod Option?? | kksdragons | Library Management | 1 | 10-27-2011 10:42 PM |
| Reg ex to move 'by author' from title field | maartencoertjens | Library Management | 3 | 10-20-2011 04:26 PM |