Hey guys,
Just wondering if you could assist me quickly with some validation.
I have some strings in for the format:
MM:SS.mm
Where MM = Minutes, SS = Seconds, mm = Milliseconds.
I'm just wondering whether you can help me with how to validate to ensure an input string is in this correct format? I don't necessarily need any answers but maybe some links to some literature I can read up on it? Google'ing just seems to return fully-fledged DD/MM/YY HH:mm:ss which isn't what I am after.
At the moment I am trying DateTime.ParseExact(...) but this throws FormatExceptions when I try to input my string. I have also tried to find some Regex expressions to no avail.
Any help is greatly appreciated - Thank you!
- Awslc