I have a data set like this (see below) and I try to extract digits which are in form {variable_number_of_digits}{hyphen}{only_one_digit}:
with mcte as ( select
I try to extract digits which are in form {variable_number_of_digits}{hyphen}{only_one_digit}
To match numbers in this format you should do something like this.
Regex: \/\d+-\d
\/\d+-\d
Regex101 Demo