regex: How to filter this numeric combo pasw?

Edit: I didn't see that @Sobrique has already commented the correct answer while I tried out the regex.

You could just use \d$.

It does match all numbers that are immediately followed by a linebreak. So if your string matches this rule, it can be tossed out.