javascript replace 2 characters -


I would like to ask, how "" ("and") "with" "<"

This is because I can change (or) instead of both

instead of both

is that

origin: (ABC, DIF)

/ P>

Modified: ABC, DF

thanks

My code:

  & lt; Html & gt; & Lt; Body & gt; & Lt; Script type = "text / javascript" & gt; Var str = "(ABC, DIF)"; Document.write (str.replace ("(", ""));     
< / Div>

g :

  var str = "(abc," post-text "Itemprop =" text "> 

def); document.written (str.replace (/ [(]] / g, '');

For reference:


Comments