I need to replace the backslash () with @. When I tried this using str_replace function, it is giving an error.
$str = str_replace(\'/\', \'@\', $str);