JS 常用工具wee / June 14, 2022 / Javascript 1 字符串 URL截取 URL 截取特定 参数值 link.split(‘?’)[1]?.match(/(^|&)xCubeShareCode=([^&]*)/)?.[2];