Could anyone please help me with a Regular Expression pattern, I'm a complete beginner and finding it very difficult to get it right.
I have an input string of syntax: d+1h+1m+1s+1
The input string represents the increment of relative time to requeue a task, so the d+1 represents 1 day, h+1 represents 1 hour and so on.
I would like to use regular expressions to check that the input string is in the correct format. Just for your reference, I am usingRegular Expressions within C#.
Thanks
Start Free Trial