#1
|
|||
|
|||
REGEX how to permit every IP except my own
Hi,
hope that anyone can help me... I need a REGEX code that allows the standard IP-Range with exception of my own IP. Background: I connect to the net via OpenVPN and i only want to use jdownloader when i'm in the vpn. My Own IP is almost static (cable -dsl). thanks plastic |
#2
|
|||
|
|||
regex don't 'allow' strings, but they match strings.
If you use a regex for matching an IP address, you can use the result of that match and compare it with your IP address. The result will be true or false and can be used to allow a particular action or not. |
Thread Tools | |
Display Modes | |
|
|