Markdown Regex for Headers

'/(^|\r\n|\r|\n)(#{1,6})\s+(.*)/gm'