Uninstall Cisco Anyconnect Security client from Macbook pro

You can remove the entire Cisco anyconnect security files with Macbook apps like AppCleaner however you will find that the Anyconnect client still exists. Cisco Anyconnect client actually has a bash script to uninstall. sudo sh /opt/cisco/anyconnect/bin/vpn_uninstall.sh

[python]Regex for matching ipv4 address

The regex pattern to match valid ipv4 addressing, which will include broadcast address, and also network id and direct broadcast address. First octet, to be valid: 1. 25[0-5] matches between 250 and 255. 2. 2[0-4][0-9] matches between 200 and 249. 3. 1[0-9][0-9] matches between 100 and 199. 4. [1-9][0-9] matches between 10 and 99. 5. … Continue reading [python]Regex for matching ipv4 address

[python]Modification of the regex code

This is a modification of the code I posted previously for regex practice. I change the from split() to splitlines(), splitlines() will split which row of the string only when the end of string is detected hence will preserve the string that has whitespaces in between on each row. So here's the example: notice the … Continue reading [python]Modification of the regex code