Board Thread:Support Requests - Getting Technical/@comment-27358554-20170415185531/@comment-25390652-20170415215152

Ah, sure.

can be divided into two parts: The first one is a group (because of brackets), and it's called in the second field (replace with) by using.
 * searches for a table separator. Backslash is needed to just encode the pipe so the notepad sees it as a non-special character.
 * searches for a range of space symbols (S and s together are all space symbols), I need that to find line breaks, spaces, etc. *? are needed to find as many of them as possible.
 * this one searches for all characters that don't match the "-" symbol.

The second one is the stuff that comes after what we find. It's basically "|-" and the line break. As you see, we don't call it in the second field, so it gets deleted.

it might be not the best example of regex, and it can be possibly made easier and better, but it works.