I am working with Notepad++ and I would like to find the new line (after the hyphen, optional space and some characters in the end line).
I have came up with something like this:
-[ ]?.*\n
I have also tried:
-[ ]?.*(\n)-[ ]?.*(\r\n)-[ ]?.*[\r\n]-[ ]?.*[\n]
None of these worked. I am working on Windows if it matters.
If you do not actually need to match the line break, you can simply use
$which is the anchor for end of a line.