View Single Post
Old 10-24-2014, 04:21 PM   #18
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,735
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by kbanelas View Post
You have told me what I would be afraid..
It's a very simple script that remove all tags of html code except bold, italic, underline and lists.
You don't need a plugin for that, you can clean up a file by using several regular expression searches one after another.

For example:

You could use the following search and replace expressions in a search group:

Find<p[^>]+>
Replace<p>

Replaces all <p class="xx"> with <p>

Find</*span[^>]*>
Replace


Deletes all <span> tags.

For more examples see the Regular Expression thread.
Doitsu is offline   Reply With Quote