Hi,
I want to parse the input string and extract the values from it. My input string might have Week, Days, Hours or Minutes.
So, the input string might be
- 1 Week 5 Days 2 Hours 1 Minutes where
- or 3 minutes
- Or 5 Days 1 Minute
- Or 2 Hours etc.
I want to extract the values using a regular expression.
How can I achieve this in .Net?