trim spaces exact search

trim spaces before and after the expression to look for