View Single Post
Old 11-22-2017, 07:25 AM   #1
reinsley
Connoisseur
reinsley began at the beginning.
 
reinsley's Avatar
 
Posts: 65
Karma: 10
Join Date: Dec 2016
Location: France
Device: Kindle PaperWhite
Search colon mark without space

Hi,

In the Calibre editor, I am looking for a kind of conditionnal "search and replace". The first step is a search only about the colon ( : ) punctuation mark.

Some texts are not correct.
For example "word: word".
It should be "word : word".
To say it another way the colon should have a space on each side. "wordspace:spaceword"

How can I search for "anyword:" ( a word without space and colon) into the text part only ? If I can avoid the HTML tags and markers...

I saw a tricky method following Python rules but it's out of my competence field.
I'd like to do it with the main GUI's Search and Replace boxes.

TIA for your help.

Best regards
reinsley is offline   Reply With Quote