Plug in / and % into div and mod words, catch exceptions