Home >Backend Development >PHP Tutorial > php正则匹配有关问题

php正则匹配有关问题

WBOY
WBOYOriginal
2016-06-13 12:44:181049browse

php正则匹配问题
原文件:
$ip=IP地址: 211.138.13.66
$add=来   自: 河北省石家庄市 移动


使用php正则匹后结果,应该怎么写匹配规则啊
$ip=211.138.13.66 
$add=河北移动

Statement:
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