I am an op and can ban IP addresses, and I was wondering if anyone can show me a snippet that bans an IP as such: 64.125.13.*
Yes, instead of banning the whole octets, I would like it to leave out the last number and replace it with * at the end.

I hope you get my drift.

p.s. I was thinking using the $right, $remove, $replace and $mid identifiers to go about this, but I'm sure you have a better idea to show me the right way.

Thanks in advance

Last edited by Tomao; 16/04/08 03:07 AM.