Js regular Filter domain name section

how to Filter domain name (bold)

https://blog.csdn.net/orangleliu/article/details/8822987
http://platform.baidu.com:8080/sss/kk/ll.action
http://platform.ishangzu.com:8080/zz/dd/visit?id=1&cc=N


let arr=[
        'https://blog.csdn.net/orangleliu/article/details/8822987',
        'http://platform.baidu.com:8080/sss/kk/ll.action',
        'http://platform.ishangzu.com:8080/zz/dd/visit?id=1&cc=N'
    ]
    arr=arr.map(item=>item.replace(/^https?:\/\/(.*?)(:\d+)?\/.*$/,'$1'));
    console.log(arr);

var arr=[
        'https://blog.csdn.net/orangleliu/article/details/8822987',
        'http://platform.baidu.com:8080/sss/kk/ll.action',
        'http://platform.ishangzu.com:8080/zz/dd/visit?id=1&cc=N'
    ];
arr.join(",").match(/\bhttps?:\/\/[^:\/]+/ig);
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3f542-2c49a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3f542-2c49a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?