javascript正则表达式匹配URLvar url = 'http:xxx.comindex.php?page=1'url = url.replace((http:xxx.comindex.php?page=)(d+),fun2023-03-15JavaScript360