JSFiddle - React, Tailwind, and code Playground

by John Wick

HTML

<div class="clsName"> <input type="number" name="first" id="first"> <input type="number" name="second" id="second"> <input type="number" name="third" id="third"> 
    </div> 

References:
https://stackoverflow.com/questions/24381480/remove-duplicate-forward-slashes-from-the-url

CSS

.container {
	overflow: auto;
	width: 960px;
	margin: auto;
}

.square {
	height: 50px;
	width: 50px;
	border: 1px solid;
	display: block;
	float: left;

}
.new_row {
	clear:both;
}

.square:hover {
    background-color: red;
}

JavaScript

$(document).ready(function() {
var abc = 'http://localhost//example/author/admin///';
clean_url = abc.replace(/([^:]\/)\/+/g, "$1")
alert(clean_url);
});