I need a script that can do something like this. http://www.textfixer.com/tools/remove-line-breaks.php http://www.dynamicdrive.com/forums/showthread.php?t=18191 I would copy text from PDF and and want to format it properly on text are of HTML form.