So I want to remove any spaces that lay between a new line and content.
this
is
some
content
son
best
believe
Should turn into:
this
is
some
content
son
best
believe
I've tried doing something like this, but it doesn't seem to do the trick:
string.replace(/^\s*/g, '');
Any ideas?