Blacklist - IP Address

I found this expression: ^192\.168\.2\.([1-9]|[1-9][0-9]|1([0-9][0-9])|2([0-4][0-9]|5[0-4]))$
but not block the ip range 192.168.2.1-192.168.2.255. who are spam my domain.
 
I found this expression: ^192\.168\.2\.([1-9]|[1-9][0-9]|1([0-9][0-9])|2([0-4][0-9]|5[0-4]))$
but not block the ip range 192.168.2.1-192.168.2.255. who are spam my domain.

hi,

in this case you just need to add the IP Network to the existing who object "Blacklist" (regular expression only triggers to names, not IP´s)