s!\s*\s$!!
Although, I can also see how it would be slower :)
In reply to Re: japhy blabs about regexes (again) by DrZaius in thread japhy blabs about regexes (again) by japhy