working on it ...


Explore Public Snippets

Sort by

Found 1 snippet matching: regex_remove

    public by viveklucky1848  2447  2  6  0

    Life-saver regex to remove desired html tags completely with their contents

    Remove html tags with their contents, useful when you want to remove certain frequently occurring tags from page, for designer to set design with css. (eg. label tag)
    Find: <label.*?>(.|\s)*?</label>
    Replace with: ''(nothing :) not even quotes)
    Dare to try below example with my devilish remover;)
    <label class="email" for="email">
    	<span>New Email</span>
    	<p>New email 2</p>

    List Complete ( 1 snippet total )

    Cannot find what you were looking for?
    Ask the Snip2Code Community

    • Public Snippets
    • Channels Snippets