源码:

var strings = "http://www.baidu.com?ni=10";

regs
= /\?.*/g

alert(regs.exec(strings));

  

相关文章:

  • 2021-09-29
  • 2022-12-23
  • 2021-04-18
  • 2021-12-19
  • 2021-10-18
  • 2021-06-14
猜你喜欢
  • 2022-12-23
  • 2021-10-08
  • 2021-07-10
  • 2021-08-09
  • 2022-02-02
相关资源
相似解决方案