View Single Post
Old 02-12-2012, 08:31 AM   #14
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by transmitthis View Post
All I need is a Reg Expression to search for ": " colon and space and any subsequent text and replace with nothing, I did try but Python is not my thing. Any takers?
Use at own risk. I did a quick search on : in the search bar then selected 6 books with a : in their title to test the following.

Highlight your books in the library.
Open the Edit Metadata window.
Click on Search and Replace tab.
Search field: title
Search mode: Regular Expression
Search for: : .*
Replace with: leave blank
Destination field: title (or leave blank)
Click Apply

This worked for the six books I tested it on. YMMV.
DoctorOhh is offline   Reply With Quote