Function Trim-Non-Alphanumeric

( trim-non-alphanumeric < word > )
Strip non-alphanumeric characters from beginning and end of a word.