recherche

Maison  >  Questions et réponses  >  le corps du texte

写个正则把 ("voiceFamily\tcss", "voiceFamily")括号替换成{}

/^()$/g这样有什么问题

巴扎黑巴扎黑3024 Il y a quelques jours984

répondre à tous(1)je répondrai

  • 面对疾风吧

    面对疾风吧2016-11-08 14:54:27

    var s = '("voiceFamily\tcss", "voiceFamily")';
    s.replace(/^\((.*)(?=\))\)$/,'{$1}');


    répondre
    0
  • Annulerrépondre