![]() |
#1 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jan 2011
Device: none
|
Using regular expressions to remove Numbers at beginning of titles
Just imported a number of old files I had numbered sequentially with the numbers at the beginning of the titles. With Calibre those aren't necessary since the "series" field can handle them and they mess up the alphabetical ordering.
Is there a way to remove those using a regular expression? For example there is a series of books such as 01 title of book a 02 Title of book b and so on. I'd like to get rid of the first 3 characters in each for all of them at once. I could edit them individually, but that takes a lot of time. Any help would be appreciated. |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
|
\d+ will match the numbers and I think \s+ the space.
Not at my computer so can't try it. Helen |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,913
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jan 2011
Device: none
|
Thanks to both of you. I'll try them out and see what happens.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Regular Expressions | geormes | Calibre | 4 | 08-04-2011 07:09 AM |
Regular Expressions | littleezza | Conversion | 1 | 07-15-2011 11:52 AM |
Another help with regular expressions | encapuchado | Library Management | 6 | 06-21-2011 03:14 PM |
Help with regular expressions | jevonbrady | Library Management | 6 | 06-21-2011 10:16 AM |
Help with Regular Expressions | ghostyjack | Workshop | 2 | 01-08-2010 11:04 AM |