LZ已经很努力了Local $Str = ''
$Str &= '[[["郑州 - 中国的少林寺的脑袋已经渐行渐远,从媒体批评佛教机构声称寺庙的计划澳大利亚前哨会过度商业化。\r\n","ZHENGZHOU -- The head of China' & "'s Shaolin Temple has distanced the Buddhist institution from media criticism claiming a planned Australian outpost of the temple will be over-commercialized.\r\n" & '","Zhèngzhōu - zhōngguó de shàolínsì de nǎodai yǐjīng jiàn xíng jiàn yuǎn, cóng méitǐ pīpíng fójiào jīgòu shēngchēng sìmiào de jìhuà àodàlìyǎ qiánshào huì guòdù shāngyè huà.\r\n",""],["方丈释永信告诉记者,少林会发展为冥想,农业和设施的武术,它是著名的在东南部肖尔黑文市的“澳大利亚文化中心” 。","Abbot Shi Yongxin told Xinhua that Shaolin will develop facilities for meditation, farming and the martial arts for which it is renowned at its "Australian culture center" in southeastern Shoalhaven City.","Fāngzhàng shì yǒng xìn gàosù jìzhě, shàolín huì fāzhǎn wèi míngxiǎng, nóngyè hé shèshī de wǔshù, tā shì zhùmíng de zài dōngnán bù xiào ěr hēi wén shì de “àodàlìyǎ wénhuà zhōngxīn”.",""],["我喜欢你的 - 微笑, “我喜欢你的氛围? ” , “我喜欢你的风格” 2009-12-31","I like your- smile,"I like your vibe?","I like your sty'
$Str &= 'le" 2009-12-31","Wǒ xǐhuān nǐ de - wéixiào, “wǒ xǐhuān nǐ de fēnwéi? ”, “Wǒ xǐhuān nǐ de fēnggé” 2009-12-31",""]],,"en",,[["'
;MsgBox(0, '原字符串', $Str)
$Str = StringReplace($Str, '"', @CR)
Local $aSR = StringRegExp($Str, '"([^"]*)"', 3)
If @error Then Exit
Local $sCn, $sEn, $sPy
For $i = 0 To UBound($aSR) - 2 Step 4
$sCn &= $aSR[$i] & @CRLF
$aSR[$i + 1] = StringReplace($aSR[$i + 1], @CR, '"')
$sEn &= $aSR[$i + 1] & @CRLF
$sPy &= $aSR[$i + 2] & @CRLF
Next
MsgBox(0, '', StringReplace($sCn & @LF & $sEn & @LF & $sPy, '\r\n', ''))
|