In C#, Given a string in a format like this:
http://10.242.33.210:5000
ftp://52.42.12.52:7000/
How do I utilize regex to retrieve only the IP (port should be discarded)
For the above two example, regex should match 10.242.33.210 and 52.42.12.52