Quote:
Originally Posted by JimmXinu
In Calibre's Search & Replace? You could certainly do a text replacement for each. I don't know how you'd do a regex on a column with possibly more than one value.
|
It's probably safe to assume comma as separator.
Code:
search:
([^,§/]+?)([ ]*[§/][ ]*)([^,§/]+)
replace:
\3\2\1
No sure what it would do to something like:
Character 1 § Character 2 § Character 3
My guess, probably:
Character 2 § Character 1 § Character 3
Note, I removed the backslash. I think @Tanjamuse was just trying to use the single backslash to escape the slash but that's not needed inside [ ]. That tripped me up, too.