Quote:
Originally Posted by Hoods7070
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