Improve regex for hard coded IP check