Retina 0.8.2, (削除) 16 (削除ここまで) 12 bytes
T`-:(|)D`__d
The d replaces each of the mouth characters (|)D with a digit from 0 to 3. The __ removes : and - from the string.
Implicitly output the result, which will be a single digit.
math junkie
- 7.3k
- 1
- 23
- 47