View Single Post
Old 09-07-2014, 04:36 AM   #5
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
The dot plus will match all text including tags, thus matching everything from the opening of the first tag to the closing of the last tag.

Use:
Code:
<[^<>]*>
to restrict the match using a set which excludes tag opening and closing brackets.

chaley, if the html contains a bracket in the text or class there are other problems bigger than a failed regex...

Last edited by eschwartz; 09-07-2014 at 04:41 AM.
eschwartz is offline   Reply With Quote