是这样吗?
#include <Array.au3>
$sText = 'GetOK|GetOK#SP#69611|86.16.253.76:3279|UK|E9|Widnes|2010-10-22 21:29:16#SP#73543|64.34.216.162:1080|US|NY|Vestal|2010-10-22 21:27:50#SP#73544|66.69.124.210:8168|US|TX|San Antonio|2010-10-22 21:08:52#SP#73411|68.96.210.61:52469|US|NV|LAS VEGAS|2010-10-22 21:08:50#SP#73413|67.180.214.107:33703|US|CA|SAN LORENZO|2010-10-22 21:08:49#SP#73418|76.90.179.157:6175|US|CA|PARAMOUNT|2010-10-22 21:08:42#SP#73452|71.61.41.138:26009|US|WV|WEIRTON|2010-10-22 21:08:40#SP#73454|209.127.196.42:7191|US|CA|BELL|2010-10-22 21:08:38#SP#73455|67.163.244.130:28661|US|PA|PITTSBURGH|2010-10-22 21:08:37#SP#73456|68.49.194.105:2757|US|MD|TEMPLE HILLS|2010-10-22 21:08:35#SP#73457|98.116.164.37:28863|US|NY|STATEN ISLAND|2010-10-22 21:08:34#SP#73461|76.97.192.96:1978|US|GA|Cumming|2010-10-22 21:06:58#SP#69160|92.233.22.8:8010|UK|E6|Gloucester|2010-10-22 21:06:57#SP#69404|82.71.62.48:2323|UK|H9|London|2010-10-22 21:06:55#SP#69772|86.10.223.119:15235|UK|H3|Leeds|2010-10-22 21:06:54#SP#70054|86.8.249.200:62087|UK|B8|Bromley|2010-10-22 21:06:52#SP#70344|94.197.25.246:8624|UK|H3|Leeds|2010-10-22 21:06:51#SP#70893|217.35.226.132:4441|UK|I2|Manchester|2010-10-22 21:06:49#SP#70895|90.195.65.67:56897|UK|H9|London|2010-10-22 21:06:48#SP#71323|86.135.155.220:59967|UK|无|LEEDS|2010-10-22 21:06:46#SP#73314|92.233.181.212:8915|UK|U3|Dundee|2010-10-22 21:06:45#SP#73316|84.43.106.72:8364|UK|K2|Chipping Norton|2010-10-22 21:06:43#SP#73332|88.111.149.113:8605|UK|H3|Leeds|2010-10-22 21:06:42#SP#73429|92.40.26.5:8914|UK|H9|London|2010-10-22 21:06:40#SP#73459|92.40.15.93:8908|UK|无|Greenford|2010-10-22 21:06:39#SP#73462|82.27.173.146:39215|UK|I2|Manchester|2010-10-22 21:06:37#SP#69138|24.21.97.241:7853|US|OR|Portland|2010-10-22'
$aReg = StringRegExp($sText, '#SP#\d+?\|(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}:\d+)\|UK', 3)
_ArrayDisplay($aReg, UBound($aReg))
|