Question

In PHP, how to remove the MathJax LaTeX delimiters $$ \( \) in a string?


Annonce
Ad

Answer

$str=str_replace('\(','',$input);
$str=str_replace('\)','',$str);
$output=str_replace('$$','',$str);


[source]
# ID Query