在 php 中使用正则表达式,我如何将每个 IP 存储到一个单独的变量中?
它将从如下所示的日志文件中获取内容。
1/27/2013 7:34:14 AM Removed {109.104.19.75}
1/27/2013 7:34:16 AM Added {98.119.183.235}
1/27/2013 7:34:17 AM Removed {98.119.183.235}
1/27/2013 7:34:34 AM Added {89.155.107.178}
1/27/2013 7:34:35 AM Removed {89.155.107.178}