<%
str = request.form("textarea")
str = replace(str,chr(13),"")
str = replace(str,chr(10),"")
str = replace(str," ","")

response.write(str)

%>

ti serve chr(10) che è l'avanzamento riga .. cmq con questo codice dovresti risolvere il problema