Regular expressions to check whether the IP address and port number are legal, the code is as follows:
Regular expressions to detect IP address
public static bool CheckAddress(string s)
Regular expressions to check whether the IP address and port number are legal, the code is as follows:
Regular expressions to detect IP address
public static bool CheckAddress(string s)