Convert a word into digit values

The input will be "one;two;three", the output should be "123".