var CV = 'JD完整cookie'; var CookieValue = CV.match(/pt_pin=.+?;/) + CV.match(/pt_key=.+?;/); copy(CookieValue);