What is so difficult on D.*-.*/.*?
If you want to ensure that there is at least one character for behind the D, - and / respectivly you should use .+ instead of those .*.
0
solved What regex pattern can I use to match this string? [closed]