Basic numbers only regex. Below is a simple regular expression that allows validating if a given string contains only numbers: Pattern.compile("^\\d+$").
確定! 回上一頁