i am having a problem with dealing with regular expressions.
What i need is to make a regular expression that checks a bunch of numbers written through the console separated with spaces and to check how many of them is:
1) unsigned short
2) unsigned int
3) unsigned long
for someone like me without any regular expression experience it is like impossible.
i am having a problem with dealing with regular expressions. What i need is
Share
Why do you want to use regex? You could instead use
String.Split(),UInt32.TryParse(),UInt64.TryParse()(unsigned long), andUInt16.TryParse()(unsigned short).