add option to strip searchstrings