Monday, 18 May 2015
REMOVE EXTRA SPACES CODE


---------------------------------------------------------------------------------------------------------------------
COPY AND PASTE CODE POST HTML SECTION
---------------------------------------------------------------------------------------------------------------------
<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXEBw6iGt7liQXB3V6jnylapdTbiJUHHNbj_bUrWbE-yH8eAZ63KAwWLTronuY_fXZcPnRrmanE9pe9-xCUA5TWoDGsxRRAVZH0uxUSa8lfaPTKsUL8jT1Wsaj7QBxC4G39f1jVf_2163N/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="206" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXEBw6iGt7liQXB3V6jnylapdTbiJUHHNbj_bUrWbE-yH8eAZ63KAwWLTronuY_fXZcPnRrmanE9pe9-xCUA5TWoDGsxRRAVZH0uxUSa8lfaPTKsUL8jT1Wsaj7QBxC4G39f1jVf_2163N/s320/1.png" width="320" /></a></div>
<!--more--><br />
<head>
<title>Remove Extra Spaces</title>
<style type="text/css">
html {height:100%;}
body {height:100%; margin:0px; padding:0px; font-family:arial; font-size:16px; line-height:1.7; background-color:#DFECFA;}
h1 {color:#E86032;display:block; font-size:18px; font-weight:bold; margin:0px; padding:0px;}
textarea {display:block; margin:0px; padding:8px 10px 8px 10px; overflow:scroll; font-family:arial; font-size:16px; line-height:1.4; color:#000000; background-color:#FFFFFF; border:1px solid #000000; outline:none; resize:none; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; box-sizing:border-box; border-radius:12px 4px 4px 4px; box-shadow:inset 0 0 6px #FFFF00;}
input {display:inline-block; height:33px; line-height:1; vertical-align:middle; font-size:16px; outline:none; resize:none; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; box-sizing:border-box;}
input::-moz-focus-inner {border:0; padding:0}
input[type='radio'] {width:20px; height:20px; vertical-align:middle; margin:0px; padding:0px; font-size:16px;}
input[type='checkbox'] {width:20px; height:20px; vertical-align:middle; margin:0px; padding:0px; font-size:16px;}
input[type='text'] {width:auto; margin:3px 0px 3px 0px; padding:0px 10px 0px 10px; font-family:arial; color:#000000; background-color:#FFFFFF; border:1px solid #000000; border-radius:12px; box-shadow:inset 0 0 6px #FFFF00;}
input[type='button'] {width:auto; margin:3px 0px 3px 0px; padding:0px 10px 0px 10px; font-family:arial; font-weight:bold; color:#000000; border:1px solid #000000; background-color:#FFFFFF; cursor:pointer; border-radius:12px; box-shadow:inset 0 0 6px #0000FF;}
input[type='button']:hover {box-shadow:inset 0 0 6px #00CC00;}
input[type='file'] {width:92px; border-radius:12px; overflow:hidden; padding:0px; margin:0px 0px 0px -92px; -moz-opacity:0; opacity:0; cursor:pointer;}
input[type='file']::-webkit-file-upload-button {cursor:pointer;}
div {-moz-box-sizing:border-box; -webkit-box-sizing:border-box; box-sizing:border-box;}
table {border-collapse:collapse;}
table,td {padding:0px;}
#menu {position:absolute; z-index:-1; left:0px; top:0px; width:0px; height:0%; margin:0px; overflow:auto; background-color:#E1E1D2; border-right:1px solid #000000;}
div.navcat {padding:10px 0px 5px 12px; font-size:18px; font-weight:bold; font-style:italic;}
div.navdiv {height:2px; padding:0px; margin:18px 10px 13px 10px; background-color:#000000;}
a.nav {display:inline-block; padding:0px; margin:10px 0px 10px 10px; text-decoration:underline; color:#000000;}
#toolpadding {padding:10px 10px 10px 10px;}
#tool {position:absolute; z-index:1; left:0px; top:0px; width:100%; height:100%; margin:0px; padding:0px; overflow:auto; background-color:#E1E1D2;}
</style>
<script type="text/javascript">
var firstload = 'yes';
var windo = '<a target="_self" class="nav" href="';
var windochk = '';
function windotargt(){
if(document.getElementById('newwin').checked == true){
windo = '<a target="_blank" class="nav" href="';
windochk = 'CHECKED';
} else {
windo = '<a target="_self" class="nav" href="';
windochk = '';}}
function loadmenu(menuf){
var tlespn = '">';
var endspn = '</a>';
if(firstload == 'no'){
if(menuf == 'open'){
document.getElementById('menu').style.zIndex = '2';
document.getElementById('menu').style.width = '280px';
document.getElementById('menu').style.height = '100%';
document.getElementById('menu').innerHTML =
'<div style="padding:10px 0px 11px 10px;">
<input type="button" style="margin-top:0px;" value="Close Tool Index" onClick="loadmenu(\'close\');" /></div>
'+
'<div class="navdiv">
</div>
'+
'<div style="padding:15px 0px 12px 12px;">
<input type="checkbox" id="newwin" onClick="windotargt(); setTimeout(\'loadmenu(\'open\')\',100);" ' + windochk + ' /> Open tools in new window.</div>
'+
'<div class="navdiv">
</div>
'+
windo + '/' + tlespn + 'Homepage | Descriptive Index' + endspn +
'<div class="navdiv">
</div>
'+
'<div class="navcat">
Basic Text Tools:</div>
'+
windo + 'Add-Prefix-Suffix-to-Text.html' + tlespn + 'Add Prefix/Suffix into Line' + endspn +
windo + 'Add-Remove-Line-Breaks.html' + tlespn + 'Add/Remove Line Breaks' + endspn +
windo + 'Count-Text.html' + tlespn + 'Count Characters, Words...Lines' + endspn +
windo + 'Delimited-Column-Extractor.html' + tlespn + 'Delimited Column Extractor' + endspn +
windo + 'Find-and-Replace-Text.html' + tlespn + 'Find and Replace Text' + endspn +
windo + 'Letter-Case-Converter.html' + tlespn + 'Letter Case Converter' + endspn +
windo + 'Merge-Text-Line-by-Line.html' + tlespn + 'Merge Text (Line by Line)' + endspn +
windo + 'Remove-Duplicate-Lines.html' + tlespn + 'Remove Duplicate Lines' + endspn +
windo + 'Remove-Empty-Lines.html' + tlespn + 'Remove Empty Lines' + endspn +
windo + 'Remove-Extra-Spaces.html' + tlespn + 'Remove Extra Spaces' + endspn +
windo + 'Remove-Letter-Accents.html' + tlespn + 'Remove Letter Accents' + endspn +
windo + 'Remove-Lines-Containing.html' + tlespn + 'Remove Lines Containing...' + endspn +
windo + 'Sort-Text-Lines.html' + tlespn + 'Sort Text Lines' + endspn +
'<div class="navdiv">
</div>
'+
'<div class="navcat">
Format Tools:</div>
'+
windo + 'ASCII-to-Unicode-Converter.html' + tlespn + 'ASCII to Unicode Converter' + endspn +
'<div class="navdiv">
</div>
'+
'<div class="navcat">
Obfuscation Tools:</div>
'+
windo + 'Binary-Code-Translator.html' + tlespn + 'Binary Code Translator' + endspn +
windo + 'Disemvowel-Tool.html' + tlespn + 'Disemvowel Tool' + endspn +
windo + 'Encryption-Generator.html' + tlespn + 'Encryption Generator' + endspn +
windo + 'Reverse-Text-Generator.html' + tlespn + 'Reverse Text Generator' + endspn +
windo + 'ROT13-Caesar-Cipher.html' + tlespn + 'ROT13 Caesar Cipher' + endspn +
windo + 'Word-Scrambler.html' + tlespn + 'Word Scrambler/Descrambler' + endspn +
'<div class="navdiv">
</div>
'+
'<div class="navcat">
Randomization Tools:</div>
'+
windo + 'Random-Line-Picker.html' + tlespn + 'Random Line Picker' + endspn +
windo + 'Random-Number-Generator.html' + tlespn + 'Random Number Generator' + endspn +
windo + 'Random-String-Generator.html' + tlespn + 'Random String Generator' + endspn +
windo + 'String-Randomizer.html' + tlespn + 'String Randomizer' + endspn +
'<div class="navdiv">
</div>
'+
'<div class="navcat"">
Combination / Permutation:</div>
'+
windo + 'Combination-Generator.html' + tlespn + 'Combination Generator' + endspn +
windo + 'Line-Combination-Generator.html' + tlespn + 'Line Combination Generator' + endspn +
windo + 'Permutation-Generator.html' + tlespn + 'Permutation Generator' + endspn +
'<div class="navdiv">
</div>
'+
'<div class="navcat">
Numeration Tools:</div>
'+
windo + 'Generate-List-of-Numbers.html' + tlespn + 'Generate List of Numbers' + endspn +
windo + 'Number-Each-Line.html' + tlespn + 'Number Each Line' + endspn +
windo + 'Online-Tally-Counter.html' + tlespn + 'Online Tally Counter' + endspn +
'<div class="navdiv">
</div>
'+
'<div class="navcat">
All-in-One Tool:</div>
'+
windo + 'Text-Manipulation-Notepad.html' + tlespn + 'Text Manipulation Notepad' + endspn +
'<div class="navdiv">
</div>
'+
'<div style="padding:19px 0px 7px 10px;">
<input type="button" style="margin-top:0px;" value="Close Tool Index" onClick="loadmenu(\'close\');" /></div>
';
resizepage();
} else {
document.getElementById('menu').style.zIndex = '-1';
document.getElementById('menu').style.width = '0px';
document.getElementById('menu').style.height = '0%';
document.getElementById('menu').innerHTML = '';}}
if(firstload == 'yes'){
firstload = 'no';
resizepage();}}
window.onresize = resizepage;
function resizepage(){
var client_width = document.body.parentNode.clientWidth;
var client_height = document.body.parentNode.clientHeight;
if(client_width <= 300){
document.getElementById('tool').style.width = '300px';
} else {
document.getElementById('tool').style.width = '100%';}
document.getElementById('menu').style.height = client_height + 'px';
document.getElementById('tool').style.height = client_height + 'px';
if(autohgt == 'yes'){
var topdivhgt = document.getElementById('topdiv').offsetHeight;
var btmdivhgt = document.getElementById('btmdiv').offsetHeight;
var middivhgt = ((client_height - 20) - topdivhgt) - btmdivhgt;
if(middivhgt > 143) document.getElementById('middiv').style.height = middivhgt + 'px';
else document.getElementById('middiv').style.height = '143px';}
if(typeof specialonsizefunction == 'function') specialonsizefunction();}
function privacy_policy(){
var text =
;}
</script>
<script type="text/javascript">
function loadfile(fileid,loadid){
document.getElementById(loadid).value = 'Loading...';
setTimeout(function(){loadfile2(fileid,loadid)},1000);}
function loadfile2(fileid,loadid){
if(!window.FileReader){
document.getElementById(loadid).value = 'Your browser does not support HTML5 "FileReader" function required to open a file.';
} else {
fileis = document.getElementById(fileid).files[0];
var fileredr = new FileReader();
fileredr.onload = function(fle){
var filecont = fle.target.result;
document.getElementById(loadid).value = filecont;}
fileredr.readAsText(fileis);}}
function savefile(saveasid,saveid){
if(!window.Blob){alert('Your browser does not support HTML5 "Blob" function required to save a file.');
} else {
var txtwrt = document.getElementById(saveid).value;
if(document.getElementById('dos').checked == true) txtwrt = txtwrt.replace(/\n/g,'\r\n');
var textblob = new Blob([txtwrt],{type:'text/plain'});
var saveas = document.getElementById(saveasid).value;
var dwnlnk = document.createElement('a');
dwnlnk.download = saveas;
dwnlnk.innerHTML = "Download File";
if (window.webkitURL != null){
dwnlnk.href = window.webkitURL.createObjectURL(textblob);
} else {
dwnlnk.href = window.URL.createObjectURL(textblob);
dwnlnk.onclick = destce;
dwnlnk.style.display = 'none';
document.body.appendChild(dwnlnk);}
dwnlnk.click();}}
function destce(event){document.body.removeChild(event.target);}
function cleartext(){
document.getElementById('input_output').value = '';
document.getElementById('removed').innerHTML = '';}
function SelectAll(id){
document.getElementById(id).focus();
document.getElementById(id).select();}
function remes(){
var text = document.getElementById('input_output').value;
text = text.replace(/\r/gi,'');
var remcntb = text.length;
var textarr = text.split('\n');
var textarrlen = textarr.length;
var be_long = 'p_bclevtug g_rkgzrpunavp.p_bz';
var rfun = /\s+/g;
var rfun2 = '';
if(document.getElementById('ltspc').checked == true) rfun2 = /^\s+|\s+$/g;
var repw = ' ';
if(document.getElementById('remall').checked == true) repw = '';
var repw2 = '';
for(x=0;x<textarrlen;x++){
textarr[x] = textarr[x].replace(rfun,repw).replace(rfun2,repw2);}
text = textarr.join('\n');
var remcnta = text.length;
var remcnt = remcntb - remcnta;
document.getElementById('input_output').value = text;
document.getElementById('removed').innerHTML = remcnt + ' spaces removed.';}
</script>
<script type="text/javascript">
var autohgt = 'yes';
function specialonsizefunction(){
document.getElementById('input_output').style.height = document.getElementById('middiv').clientHeight + 'px';}
</script>
</head>
<body spellcheck="false">
<div id="menu">
</div>
<div id="tool">
<div id="toolpadding">
<div id="topdiv">
<h1>
<input onclick="loadmenu('open');" style="margin-top: 0px;" type="button" value="Open Tool Index" /> Tool: Remove Extra Spaces</h1>
<div style="padding: 4px 0px 7px 0px;">
<input onclick="remes();" type="button" value="Remove" />
<input checked="" id="ltspc" name="ltspc" type="checkbox" />Trim leading/trailing whitespaces from lines.
<input checked="" name="remspc" type="radio" />Remove extra spaces.
<input id="remall" name="remspc" type="radio" />Remove all spaces.
<input onclick="SelectAll('input_output')" title="Select All Text" type="button" value="S" />
<input onclick="cleartext();" title="Clear All Text" type="button" value="C" />
<span id="removed"></span>
</div>
</div>
<div id="middiv" style="height: 120px;">
<textarea id="input_output" style="height: 100%; width: 100%;" wrap="soft">
Enter your text here and click the "Remove" button above.
THIS TOOL REMOVE SPACES AND TEXT MOVE BACK LEFT SIDE
</textarea>
</div>
<div id="btmdiv">
<div style="padding: 7px 0px 3px 0px;">
<input type="button" value="Load File" /><input id="file" onchange="setTimeout('loadfile(\'file\',\'input_output\')',100);" type="file" />
<input onclick="savefile('saveas','input_output');" type="button" value="Save As" />
<input id="saveas" style="width: 90px;" type="text" value="output.txt" />
<input checked="" id="unix" name="sfrmt" type="radio" />Unix
<input id="dos" name="sfrmt" type="radio" />Dos.
</div>
<div>
Tools provided as-is, without warranty of any kind and used at your own risk.<a href="https://www.blogger.com/blogger.g?blogID=1299581683503627938" style="color: blue;"></a> |
<span onclick="privacy_policy();" style="color: blue; cursor: pointer; text-decoration: underline;">FbGadgets</span>
</div>
</div>
</div>
</div>
<script type="text/javascript">loadmenu('close');</script>
</body></div>
Related movie you might like to see :

FILE SAVE AS WITH JAVA SCRIPT METHO...

FILE SAVE AS WITH JAVA SCRIPT METH...

HTML CSS JAVA COMPRESSOR CODE

HTML CSS JAVA COMPRESSOR

ONLINE CSS UNMINIFIER CODE

ONLINE CSS UNMINIFIER

CSSO (CSS Optimizer)

SCRIPT TUTORIALS CSSO CSS COMPOSER ...

WHITE SPACE REMOVER CODE

White Space Remover

COMMENTS REMOVER CODE

COMMENTS REMOVER
?
+
X
Recommended for you
Loading..
Related Post for REMOVE EXTRA SPACES CODE
COMPARE FRACTIONS CALCULATOR CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION --------------…
DIVIDING FRACTIONS CALCULATOR CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION ---------------…
ADDING SUBTRACTING MIXED NUMBERS CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana…
ADDING SUBTRACTING MIXED NUMBERS CALCULATOR CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION ---------------…
SLOPE CALCULATOR WITH GRAPH CODE ---------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION ---------------…
TRIANGLE CALCULATOR CODE ---------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION READ MORE: http:…
SCIENTIFIC NOTATION CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana,…
PRIME NUMBER GENERATOR CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION --------------…
MATH FRACTION REDUCER CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, A…
MULTIPLYING FRACTIONS CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, Ar…
MULTIPLYING FRACTIONS CALCULATOR CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION --------------…
TRIANGLE CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, A…
ADDING SUBTRACTING 3 FRACTION CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, A…
PERCENT CALCULATOR PIE CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION ---------------…
STANDARD DEVIATION CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, A…
NON PERFECT SQUARE ROOT CALCULATOR CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION READ MORE: htt…
ADDING SUBTRACTING FRACTION CALCULATOR CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION --------------…
PYTHAGOREAN THEOREM CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, A…
SCIENTIFIC NOTATION CALCULATOR CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION ---------------…
LINEAR EQUATION SOLVER .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, A…
PERCENT CALCULATOR PIE CHART .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, A…
NON PERFECT SQUARE ROOT CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, A…
PRIME NUMBER CHECKER .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, A…
PYTHAGOREAN THEOREM CALCULATOR CODE ---------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION READ MORE: http:…
DIVIDING FRACTIONS CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana,…
SLOPE CALCULATOR WITH GRAPH .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, A…
CIRCUMFERENCE CALCULATOR ======================================================================== READ MORE: http://www.wikihow.com/Calculate-the-Diameter-of-a-Circlehttp://www.wikihow.com/Work-out-th…
STANDARD DEVIATION CALCULATOR CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION --------------…
PERCENTAGE CHANGE BAR CHART CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION --------------…
MATH FRACTION REDUCER CALCULATOR CODE ---------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION ---------------…
ADDING SUBTRACTING FRACTION CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, …
LINEAR EQUATION SOLVER CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION --------------…
PRIME NUMBER GENERATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, …
COMPARE FRACTIONS CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana,…
PERCENTAGE CHANGE BAR CHART CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, A…
ADDING SUBTRACTING 3 FRACTION CALCULATOR CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION ---------------…
LCM GCF CALCULATOR Greatest Common Factor and Least Common Multiplier Calculator !-- Begin function go(input1,input2,input3){ if (document.form1.text3.value!=""){ document.form1.answer.…
Labels:
TEXT TOOLS
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment
Click to see the code!
To insert emoticon you must added at least one space before the code.