Assume I have a text consisting of multiple (many) lines (e.g. in a textarea).
I want to eleminate all blank lines but only those at the beginning o the text.
How do I specify the corresponding regular expression?
.......replace(/s*n/g,"");
replaces ALL blank lines (even if they are later embedded in text).
Peter