I have a textarea control to get some formula from user.eg : 200+4000+60000+7000000. I want to split the formula to new line if it won't accommodate in first line. It will move to new line, but numbers will break. Basic thing is numbers won't break.eg : 123456 won't break like 1234 in first line and 46 in next. How can I achieve this when user types on textarea?