Java RegEx that matches exactly 8 digits. I think this is simple and it works: String regEx = "^[0-9]{8}$";. ^ - starts with. [0-9] - use only digits (you ...
確定! 回上一頁