How to pull a IP out of a string using preg_match in PHP:?

前端 未结 0 711
春和景丽
春和景丽 2021-01-07 08:35

I have a log file which I want to pull IP\'s out of. I have tried this using preg_match() but it never finds a match. Here is my attempt:

$str =          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题