View Single Post
Old 08-17-2011, 09:52 AM   #4
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by Azrael1018 View Post
I guess I was looking for some Regex expressions that might do the trick.

Regex has me a little confused and examples would help. The Calibre tutorial did not seem to tutor me much (:

Dave
I still suggest removing and Adding again. If you do that, you can easily put the author, series and series index into the correct field. S&R works best for fixing one field, or moving one field into one other

for:
JR Ward - [Black Dagger Brotherhood 03] - Lover Awakened
in the title, you can use
Code:
(.*) - .*
as the search
and
Code:
\1
as the destination into the author field.

Then you'll need to do the series and series_index fields, then fix the title field. It would be easier to just add that file with an Add regex to do all 4 fields correctly in one shot. I suspect you didn't get examples as no one wanted to give all the permutations for all the steps for all the different file naming schemes you have for both S&R and Add Books until they knew what approach you wanted to take (S&R or Add Books).

There are lots of Add Books regex expressions posted here that will work on many of your files.
Starson17 is offline   Reply With Quote