[代码] [PHP]代码

1 function extract_emails_from($string) {
2 //加入对#的判断,这个你懂的^_^ http://blog.ddian.cn
3 preg_match_all("/[\._a-zA-Z0-9-]+(@|#)[\._a-zA-Z0-9-]+/i", $string, $matches);
4 return $matches[0];
5 }

相关文章:

  • 2021-12-01
  • 2022-12-23
  • 2022-12-23
  • 2021-05-24
  • 2021-10-06
  • 2021-10-06
  • 2021-11-25
猜你喜欢
  • 2021-11-29
  • 2022-12-23
  • 2022-01-01
  • 2022-01-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案