apocalyptica But it doesn't seem to work. From my understanding, the \s+ should also match for newline feeds in addition to whitespace, correct? Any suggestions?
regarding your question as to what \s will match
it will match whitespace including tabs, carriage returns, newlines and form feeds