punctuation sysmbol search refactoring