View Single Post
Old 04-16-2021, 03:05 PM   #9
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,094
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 vijer View Post
I've been searching for a solution for hours, but haven't found any examples that help.

I want to search the file and remove all instances of <a id="pageXXX"></a> where XXX is the page number.

I have tried

(^<a id="page)(.*:?)("></a>)

(^<a id=\\"page)(.*:?)(\\"></a>)

(^<a id="page)([0-9]+)("></a>)

(^<a id=\\"page)([0-9]+)(\\"></a>)

What am I missing?
Why not use the Diaps Toolbag Plugin to remove <a tags
It accepts arguments
theducks is offline   Reply With Quote