Skip to content
Jeff Johnson edited this page Mar 26, 2020 · 9 revisions

IPBan uses regular expressions extensively. There are typically done with an ipaddress group for blocking or allowing ip addresses.

Example ipv4 regex: (?<ipaddress>\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3})

Please use https://regex101.com/ for testing out your regular expressions. More regex tutorials/info: https://www.regular-expressions.info/

Clone this wiki locally