I am trying to copy a string from notepad to HTML form on base of new line but it is not working for me, below is the code snippet for your help.