regular expression better than just trim?