原始文件
cna=kIL9DoazbDcCAWVVUDnmV4lC; mobileSendTime=-1; credibleMobileSendTime=-1; ctuMobileSendTime=-1; riskMobileBankSendTime=-1; riskMobileAccoutSendTime=-1; riskMobileCreditSendTime=-1; riskCredibleMobileSendTime=-1; riskOriginalAccountMobileSendTime=-1; zone=RZ05B; ALIPAYJSESSIONID=RZ056Dar6pgE6inNmivJBB3ya80WKxauthRZ05GZ00; ctoken=FT2pDKm+bGp2RGl$GxOBW6VWsYt3Vb; umt=; LoginForm=alipay_login_auth; alipay=K1iSL1mkbIUp8dcHyyBziFT5C4RINJGX+MSNMSuD83P32KhS; CLUB_ALIPAY_COM=2088012831080047; iw.userid="K1iSL1mkbIUp8dcHyyBziA=="; ali_apache_tracktmp="uid=2088012831080047"; session.cookieNameId=ALIPAYJSESSIONID; unicard1.vm="K1iSL1mkbIUp8dcHyyBziA=="; BIG_DOOR_SHOWTIME=20151120; JSESSIONID=D5AC3CF6409987B38AC77BC82736D81A; spanner=iHE67C/9gPqS2VHoOUsNG7VfmB2LySdK4EJoL7C0n0A=; JSESSIONID=RZ05CvInZFXLtLlu3siKJFY2YXB02cauthGZ00RZ05
需要替换的新字符
JSESSIONID=9B4B199EEB702BEE2B7D516BA1CB6F8C; Path=/; HttpOnly,JSESSIONID=RZ056Dar6pgE6inNmivJBB3ya80WKxauthRZ05GZ00; Path=; Secure; HttpOnly,spanner=iHE67C/9gPqS2VHoOUsNG7VfmB2LySdK4EJoL7C0n0A=;path=/;secure;
这些需要替换的字符,都是动态的,随时会变,
例如
JSESSIONID=9B4B199EEB702BEE2B7D516BA1CB6F8C;
替换其中的这个,我们需要找到JSESSIONID这个值,把他替换了,怎么做到
求大神写个例子