help needed for capturing CRLF

hi guys,i need to capture CRLF(using javascript) that gets into textfield when someone do a copy and paste - as a part of form validation.or is it possible to do the same in java? please do reply...Message was edited by: johngrg
[263 byte] By [johngrga] at [2007-11-27 5:52:16]
# 1
anybody there?
johngrga at 2007-7-12 15:43:00 > top of Java-index,Java Essentials,New To Java...
# 2
> anybody there?You question does not make sense to me so maybe others feel the same.
sabre150a at 2007-7-12 15:43:00 > top of Java-index,Java Essentials,New To Java...
# 3
will u give a brief abt CRLF...
TanujaRaja at 2007-7-12 15:43:00 > top of Java-index,Java Essentials,New To Java...
# 4

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.

johngrga at 2007-7-12 15:43:00 > top of Java-index,Java Essentials,New To Java...