function (s) {
var str = $.trim(s),
reg1 = /[a-zA-Z\!\@\#\$\%\^\&\*\(\)\-\+\=\|\\\/\?]/g,
reg2 = /^(\d*)(\.)(\d{1,2})(.*)$/g,
reg3 = /^(0)/,
reg4 = /(\.{1,})/g;
return (((str.replace(reg1, "")).replace(reg2, "$1$2$3")).replace(reg3, "")).replace(reg4,".");
}