去掉url中的http或者https

2023年06月09日 技术资料 675 views 0
var url = "https://www.bai.com";
var urlNoProtocol = url.replace(/^https?\:\/\//i, "");


👍好活当赏🧧