Possible Duplicate:
Replace Line Breaks in a String C#
hi I have an textarea
which anyone can enter text, where they can put line breaks inside the text area.
How can I remove the line breaks created by pressing the enter key? can either be in c# or javascript.