allow for trailing whitespace when find/replacing text