I try to extract the value (IP Address) of the wan_ip with this sourcecode: Whats wrong?! I´m sure that the RegEx pattern is correct.
String input = @\"var p
If you just want check correct IP use IPAddress.TryParse
using System.Net; bool isIP(string host) { IPAddress ip; return IPAddress.TryParse(host, out ip); }