sorry guys...
i will try to xplain..CRLF-Carriage Return\Line Feed.
i have a textfield which corresponds to a field in a table. i want to filter the CRLF in the user input to this text field before it reaches the db using either javascript/java. this CRLF is not manual entry like \r\n, but the CRLF that gets in the text when we copy and paste the input from some other source, say word/website.