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我認爲你的意思是'\」'。 '\\\「'被註冊爲'\'',並且提供了不必要的麻煩。 –
我還不確定要在我的正則表達式中放置什麼,「是否意味着匹配」? –