Excellent Programming Tricks

Remove all html tag except table tag | Reg Exp


  1. Remove all html tag from your code except table tag. <((?!table|thead|tbody|th|tr|td|/table|/thead|/tbody|/th|/tr|/td)[^>]+)>
  2. You can modify table tag instead p tag <((?!p)[^>]+)>. Remove all tag except p tag.



Notepad++ editor 


No comments:

Post a Comment


Authentic аnd Excellent

Website

HTML Template

Wordpress Theme

Database applications

OR

Application services?

Excellent Programming Tricks (EPT) || Iftekhar-IT || We develops the Web applications and the WordPress templates. || Excellent Programming Tricks (EPT)

© 2020 Blogger Theme by Iftekhar IT || Excellent Programming Tricks

Execllent Programming Tricks. Powered by Blogger.