View Single Post
Old 04-13-2017, 05:23 PM   #8
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,689
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Use my TagMechanic plugin (unless you're looking for some extra regex practice, of course).

Though I highly recommend caution. If the p tags you're removing are not within a div, then you're going to have invalid code. Text must be contained within a block-level element of some kind. Text can't have the body tag as it's immediate parent.

Last edited by DiapDealer; 04-13-2017 at 05:33 PM.
DiapDealer is online now   Reply With Quote