in reply to Line trimming regex doesn't work as expected

Judging by the rest of the code, 85+ probably should be 85\+. Beyond that, we need to know what you need this function to do. Are you using us in lieu of testing?