What i want is to check if there is a number followed by spaces and another number, without any "," in between, anywhere in the String
Currently i am doing this:
Pattern pattern = Pattern.compile("[0-9][\" \"]+[0-9]");
Matcher matcher = pattern.matcher(input);
if(matcher.find()) return false;
and it works just fine. But i was wondering if there is any other simpler way of achieving this?