View Single Post
Old 05-10-2014, 09:54 AM   #14
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,123
Karma: 60406498
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 JLius View Post
When the class is specific to the chapters, am I correct in suggesting that you can use (.*) to match everything inside that class, be it digits and letters and...?

If my chapters are like this: 1. My first chapter
then I can find it wit (.*). But what do I use in the replace? /1 doesn't do the job.
Others have pointed out : \1 not /1
All escapes are \
All tags close with / (even self closing, like <br /> )


Unique is the keyword. As long as you always have an exact match.

Yes, the non-greedy wild card capture (.+?) can be used

BTW bold is no longer needed when changing from P to H#
By default: H# tags are already BOLD
theducks is offline   Reply With Quote