added replace docs + fixed typo in docs + \n in filter