by
97 9
1
6
1,981
0
Top 1% !
Popular
Famous
Tagged
Specified
OpenSource
Popularity: 11153rd place

Published on:

Languageregexp

Replace multiple whitespaces with single character linewise

Replace multiple whitespaces with single character(eg. |) in each line:
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/579508/Replace-multiple-whitespaces-with-single?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
Find: [ \t]+ or [ \t]{2,} Replace with: |
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus