|02-22-2011, 03:37 PM||#1|
Join Date: Feb 2011
Edit MultiData Search and Replace to multiple fields
Is it possible to have multiple destination fields in a bulk edit search and replace?
I had some badly formatted files imported where it was added as:
(pub date) Series - Series # - Title - Author
And I wrote a series of search and replaces to deal with it one per output IE:
\((\d+)\)\s+.* in title
\1 in destination field #pubdate
then another one for
.* - (.*) in title
\1 in destination author field
I'd really just like to have one regex and use either the named regexes or \1 goes to this field, \2 goes to the next field, \3 goes to the 3rd, etc... Is that possible?
Or even for it to realize the named parameters and have:
(?P<series>.*) - (?P<series_index>[0-9ab]*)\s+(?P<title>[^_]) change the series and series_index tag and not just the title tag (Which is what it does now.)
Last edited by Doug-W; 02-22-2011 at 03:43 PM.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Increase search and replace?||user_none||Conversion||24||04-08-2011 04:59 PM|
|need regex help search and replace||schuster||Calibre||4||01-10-2011 10:00 AM|
|Search & Replace||Pat Nickholds||Sigil||2||10-22-2010 12:18 AM|
|Search and replace in 0.2.0||paulpeer||Sigil||7||03-13-2010 12:59 PM|
|Why no search and replace?||charleski||Sigil||10||11-24-2009 05:13 PM|