viveklucky1848
viveklucky1848
Reputation Top 5%
Vivek Shah
3 Snippets  (214th place)
Published
1 Channel
Created
2 Channels
Following
97 points  (294th place)
Reputation
Junior Code Generator
Junior Publisher
Junior Trend Maker
Junior Judge
Junior Popular Coder
Junior Autobiographer
Serious Autobiographer
Senior Autobiographer
Junior Famous Coder

Recent Snippets See all snippets by viveklucky1848

public by viveklucky1848  2071  0  6  0

Regex remove trailing spaces in editor

Remove trailing spaces
Find: \s+$
Replace with: '' (not even quotes, means empty )

Press "Replace all" button
;

public by viveklucky1848  2457  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>
	NEW EMAIL3
</label>                                    
;

public by viveklucky1848  1978  0  6  1

Replace multiple whitespaces with single character linewise

Replace multiple whitespaces with single character(eg. |) in each line:
Find: [ \t]+ or [ \t]{2,}
Replace with: |
;