Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 11-22-2016, 05:53 AM   #1
larysa
Zealot
larysa began at the beginning.
 
Posts: 124
Karma: 10
Join Date: Feb 2016
Device: iPad mini 4
search expression

I have sequences <a id="30"> , <a id="31">, etc on my ePub and I want replace every expressions "number" with word (ex cedro)
How to search and replace a sequence number expressions?
larysa is offline   Reply With Quote
Old 11-22-2016, 06:23 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by larysa View Post
I have sequences <a id="30"> , <a id="31">, etc on my ePub and I want replace every expressions "number" with word (ex cedro)
How to search and replace a sequence number expressions?
id="\d+"

id="ex_cedro" <FWIW spaces not allowed

Why not just remove the Anchor since having all the same makes them worthless

IIRC Diaps toolbag plugin can do this task with a tags
theducks is offline   Reply With Quote
Advert
Old 11-22-2016, 12:15 PM   #3
larysa
Zealot
larysa began at the beginning.
 
Posts: 124
Karma: 10
Join Date: Feb 2016
Device: iPad mini 4
first thanks!
second, ok how to remove the anchor??
larysa is offline   Reply With Quote
Old 11-22-2016, 01:49 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Install the plugin from the main GUI :Get plugins.

Edit the book using Calibre Editor (T shortcut)
Select (launch) the Plugin from the toolbar
Mode: all HTML files or individual if you want
action Delete
tag to delete: a
Process check results...THEN save
theducks is offline   Reply With Quote
Old 11-23-2016, 12:28 PM   #5
larysa
Zealot
larysa began at the beginning.
 
Posts: 124
Karma: 10
Join Date: Feb 2016
Device: iPad mini 4
Ok thank you, now i try!

Last edited by larysa; 11-23-2016 at 12:45 PM.
larysa is offline   Reply With Quote
Advert
Old 11-24-2016, 05:42 AM   #6
larysa
Zealot
larysa began at the beginning.
 
Posts: 124
Karma: 10
Join Date: Feb 2016
Device: iPad mini 4
Ok work fine! But with search & replace it's easier! Anyway thanks to your support!
larysa is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Search and replace question (regular expression) Funslinger Library Management 2 06-21-2013 02:12 AM
Help with regular expression search/replace bfollowell Sigil 12 06-20-2013 07:36 PM
Regular expression search in authors kakkalla Library Management 9 04-20-2011 04:24 AM
Search & Replace - Regular expression oldbwl Calibre 2 01-09-2011 09:33 AM
Search expression help: No Covers Zipr Calibre 2 04-14-2010 09:36 AM


All times are GMT -4. The time now is 06:20 AM.


MobileRead.com is a privately owned, operated and funded community.