Quantcast
Channel: MobileRead Forums
Viewing all articles
Browse latest Browse all 47670

Regular Expression help: complicated remaming of titles

$
0
0
I'm trying to rename a few hundred magazines using regular expressions in the EDIT METADATA|SEARCH & REPLACE, but I'm not getting anywhere. I read :book2: the reference, :bookworm: but the more I read it the more confused I get. :blink:

Here's a sample of three titles I now have:

Quote:

202 (Winter 2009) Tools & Shops
025 (Dec 1980)
178
The numbers are actually issue (series) numbers. I want to use the search and replace to change them all to look like this:

Quote:

Fine Woodworking 202: Fine Woodworking Magazine № 202 (Winter 2009) Tools & Shops
Fine Woodworking 025: Fine Woodworking Magazine № 025 (Dec 1980)
Fine Woodworking 178: Fine Woodworking Magazine № 178
(The "Fine Woodworking NNN:" part sets the series number, which I can later use the "Clean Metadata" plugin to move it to the series column.)

So, I'm stumped. The part that I can't figure out is how to take the number and repeat it in prepended text as shown, followed by a colon. What's the most painless way to make this happen? I really have no clue.

____________
Here's my view of the tool I'm using, FYI:

Viewing all articles
Browse latest Browse all 47670

Trending Articles