Rewrote stripallbut() again, tested extensively