I have a question, on how to validate IP:Port together. example:
192.158.2.10:80 <--Valid
192.158.2.10 <---Invalid
So the port is a must, I fo
I think '[0-9]+.[0-9]+.[0-9]+.[0-9]+:[0-9]+' might work as well
'[0-9]+.[0-9]+.[0-9]+.[0-9]+:[0-9]+'
You can test it at http://regex101.com/