Retina 0.8.2, 16 bytes
T`(|)D`0123
!`\d
T`(|)D`0123
Replace each of the mouth characters with their corresponding value.
!`\d
Output all numbers in the resulting string (which will just be 0, 1, 2 or 3)
math junkie
- 7.3k
- 1
- 23
- 47