Parsing special chars in replacement done