Thursday, 3 October 2013

Regular expression for replacing `` tag inside style and script tag blocks

Regular expression for replacing `` tag inside style and script tag blocks

i want a help from you to strip <del> tag from script and style tags
blocks e.g.Input: <style type="text/css"> <del>p</del> { color:red; }
</style>
Output: <style type="text/css"> p { color:red; } </style>
same is for script tag too.. Basically i want to strip tag from script tag
and style tag block.

No comments:

Post a Comment