View Single Post
Old 07-03-2020, 02:04 PM   #5
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Quote:
Originally Posted by AlwaysNew View Post
I've tried Diaps Plugin but it's a bit beyond me. Any help sincerely appreciated!
Thanks.
IMHO it's well worthwhile to learn Diaps PI -- I use it all the time and it's a lot easier that debugging some complicated RegEx

It's configurable so you can add additional tags

This does what you asked, but it you want to key off of the id="chapter.." it's a little more complicated

Result is

Code:
<h1 class="p15"><span id="chapter-5"></span>Coming Home</h1>
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	221
Size:	97.0 KB
ID:	180360  
phossler is offline   Reply With Quote