Home > Backend Development > PHP Tutorial > 再请问一个正则表达式

再请问一个正则表达式

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 10:43:20
Original
925 people have browsed it

再请教一个正则表达式!
下面的字段,怎么才能截取到Steven Liu,[email protected]?这个问题是面向一类字段的!
Registrant [3451728]:

  Steven Liu [email protected]

  Beijing Chuangrui wenhua chuangmei youxian gongsi


------解决方案--------------------
preg_match_all('#Registrant \[3451728\]:\s+(\w+\s+\w+)#s',$s,$m);
print_r($m);

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template