Actually I just wanted to remove trailing new lines and not a mix of anychar-newline.
Btw this is probably something for the WikiParser as I do not see why it should keep trailing newlines...