I have got a text string like this:
test1test
I want to check if it contains at least one digit using a regex.
What would this reg
In Java:
public boolean containsNumber(String string) { return string.matches(".*\\d+.*"); }