Input validate grep search

Escapes any escape character \ to \\
Escapes any double quote " to \"