Updated determine_network.php

Regex is fine, just thought of yet another way to solve it.