Quote:
Originally Posted by MontyJ
Hola to all from HOT Mexico!!
Been using Calibre heavily and have started getting more into search & replace using regular expressions. So far have been able to figure out everything except this one! Everything indicates it should work, but it doesn't, so thinking some really noob mistake on settings is the cause but I sure can't figure out what it could be.
.
.
Thx - MontyJ
|
Ok, talking to myself here, but thought there might be some out there interested in the solution I came up with.
The "&" character is not really a "metacharacter", but Calibre uses it to determine "multiple Authors" when determining a "split". So weird things were happening when trying to do simply things, such as a normal replace of it! Bottom line it won't work because there does not seem to be any way to code (RE) around it!
Anyway, the solution is to use that exact RE I put in the previous post, but then:
- Set the "Search Field" as "Author_Sort", NOT "Author"!!
- Then set the "Destination Field" to "Author"
This will then run the RE normally and the results are what I wanted!
Hope it helps someone...
MontyJ