Javascript regex to escape quotes (but not escape already escaped quotes)

后端 未结 4 1191
情歌与酒
情歌与酒 2021-01-13 19:22

I am looking for a JavaScript regex which will escape single quotes but it should not escape single quotes which are already escaped.

4条回答
提交回复
热议问题