|02-22-2011, 02: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 02: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 03:59 PM|
|need regex help search and replace||schuster||Calibre||4||01-10-2011 09:00 AM|
|Search & Replace||Pat Nickholds||Sigil||2||10-21-2010 11:18 PM|
|Search and replace in 0.2.0||paulpeer||Sigil||7||03-13-2010 11:59 AM|
|Why no search and replace?||charleski||Sigil||10||11-24-2009 04:13 PM|