I have a string in C#
that returns values in the format like shown below:
1-501-10
1-501-2010 Final
1-2-5 ABC
1-3-2050-Final
I am looking for a Regex that extracts the following values
1-501-10
1-501-2010
1-2-5
1-3-2050
Thanks in advance. Appreciate your help.