I have a string that looks like
no-mac4-two-git5a0r-m0-18md12b....
I'm trying to match it as /^\D+\d+\D+\d\D\d\D+\d+\D+(\d+)/
but it is not correct. Can I get some help with this? I only need to match this part of the string although there is more to it which is why I'm using the "+" at the end.
Further explanation:
These strings are part of a path name. I am trying to retrieve some paths based off whether they match the regex. All the paths have a string with the exact same pattern and format as I showed above. I am not able to successfully return any paths with the way I was matching it though.