Currently I have a regex that will take a given set of newlines and condense them. A challenge I need to solve for is to modify this regex (\\n{2,}) so that it
\\n{2,}
This method is shorter than the top answer:
(\h*\n){2,}
Regex101