View Single Post
Old 06-11-2013, 08:41 AM   #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,108
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 Hoods7070 View Post
Thanks, Ducks, that works to a degree, minus the <p> tag. I removed the <p> tag and added a space before ( .([A-Z) and that works well enough to find groups. Unfortunately it also finds single words all in uppercase (e.g. the all caps stuff in the !DOCTYPE codes at the top of each page) but I can live with that.

Cheers
That is why the <p was there (it did need some fine tuning to closer match your usage style) These are kickstart tips, not absolutes, you are expected to season to taste


Code:
<p.*>(.([A-Z]| ){4,10})
might work better IF you code uses P and not DIV <--see! Why season to taste is needed
theducks is offline   Reply With Quote