Album volume to discnumber action (general method using regexp)

Hello and thanks. This is working except when the digits are followed by comma colon or brackets. I tried to navigate through include a strategy that after encountering the required digits, when first non-digits are encountered, the expression stops looking and return. But I haven't had success owing to my extremely limited knowledge of regex.

Hello again.

If somehow this regex

can also take care of cases when the volume number is proceeded by bracket, comma, semi-clon, or colon (actually anything that's not a digit) it would be perfect. Thanks a lot.

It already does, though. You can add them explicitly, but please note that it is very cumbersome to match paired parentheses in regular expressions.

$regexp(%album%,^.*\(?Vol(?:\.|ume)?\s*(\d+)[,:)]?.*$,$1)