View Single Post
Old 01-24-2012, 10:27 AM   #3
theducks
Grand Sorcerer
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: 15,059
Karma: 5939999
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by ElMiko View Post
How do I remove all the <div> tags in a document?
Why?
BTW Replace might be a better term, especially if you want to pass Flightcrew

You can't have naked text, so be careful
Code:
<div class="first"><p class="normal">Text</p></div>
could be combined into
<p class="normal first">Text</p>[/CODE]
I have trouble getting matching tag pairs to only Match in my REGEX
(same problem with excessive Span removal, It needs to match the correct partner.)
theducks is online now   Reply With Quote