0
我有一些转义报价在我的JSON文件的值部分,Java的如何忽略引号内的行情
"key":"value"
它就像
"text":"a personal persona as a street-smart "tough girl", which when
combined with raw talent","birthday":"19871108"
我想知道使用正则表达式来怎么做转义我的价值部分内的报价? 让它看起来像
"text":"a personal persona as a street-smart \"tough girl\", which when
combined with raw talent","birthday":"19871108"
在正则表达式中使用'\\\“' – SHG
@SHG我认为你的意思是'\”'。 '\\\“'被注册为'\'',并且提供了不必要的麻烦。 –
我还不确定要在我的正则表达式中放置什么,“是否意味着匹配”? –