次の文字列の[quote]
to"
と[/quote]
toをすべて置き換える必要があります。"
[quote]fgfhfgh [quote] vbbb[/quote]ghhhhjj[/quote]
結果は次のようになります。
"fghfdgfdh "gghj vbbb"ghhhhjj"
私はこれを使用しましたが、できません:
finalRecieveString = (String) uivdHashTable.get("pendingString");
String ReplaceQuote=finalRecieveString.replaceAll("[quote]", "\"");
ReplaceFinalQuoteString=ReplaceQuote.replaceAll("[/quote]", "\"");