22 Dec
2011
22 Dec
'11
4:20 p.m.
My issues is, this will match not only say 66.220.1.1, but also 166.220.1.1. I've tried changing to:
message(" 66\.220\.")
but that'd didn't fly. Any suggestions on how to more exactly match IP blocks? Thanks all.
If you want to match the sending IPs, netmask() is the way to go.
Otherwise something like message("[^0-9]?66\.220\.") might work. That should catch anything beginning with 66.220, and everything else that has a non-number followed by this string.
Excellent...I will give that a go. Netmask() would be nice, but alas, I'm matching IP's within the message content, not a sending IP. Thanks for the quick response and information. James