changed default search and fortified regex replace on raw input