比如,我们将课程中测试地址修改一下: var str = "https://www.runoob.com/try/try.php?filename=tryjsref_regexp4"; var patt1 = /(\w+):\/\/([^/:]+)(:\d*)?
確定! 回上一頁