$ 0 0 We have to use a javascript StrTran(): document.getElementById( "oGetTest" ).value.trim().replace( "\r\n", "::" );