1 Reply Latest reply on Aug 31, 2009 10:28 PM by msakrejda

    convert double quotes to single quotes

    new2oop Level 1

      I'm using a regEx to convert all the double quotes in an xml string before saving to an mysql database (any doublequotes get escaped by the PHPcode).

       

      buildXML = buildXML.replace(/"/g,"'");

       

      however after that line all the following turns red (I assume because of the unbalanced double quotes).

       

      what other way can I express the regEx?