Grabbing Numbers before or after /

Hi folks,

I have recently decided to change my disc-numbering system to use %totaldiscs%.

Right now i use #/# ie 3/4 or 11/14 in %discnumber%

i want to copy '#' ie /# or /## without the slash into %totaldiscs% and then remove the / and numbers after it from %discumber%

i can't use $cut due to the mix of singular and double numbers

Is there away to select numbers before and after a symbol in tag-tag or some other tool?

You can use an action of the type "Guess value"
Source: %discnumber%
Pattern: %discnumber%/%totaldiscs%

Worked like a charm!