ref #8041 trim all non-word characters in selecti dialog search string