if $(this).val() have backslash remove backslash in it by jQuery. how is it? 1111\\/11\\/11 -> 1111/11/11
1111\\/11\\/11
1111/11/11
var str = $(this).val().replace('/','');