Use \b\d+\b to find digit runs bounded by word boundaries in ordinary English text. In 42 A12B 3.14, it finds 42, 3 and 14 but does not match the digits inside A12B: it is not a decimal validator.

\b\d+\b in the pattern field.42 A12B 3.14 in the test text. Inspect the highlighted matches and match list.\d+. The digit run 12 inside A12B now also matches.Pattern: \b\d+\b Text: 42 A12B 3.14 Matches: 42, 3, 14

A word boundary is not a rule for whole numbers: the minus sign in -42 is outside the match, and decimal punctuation creates boundaries. Underscores and non-English identifiers also need tests suited to your data.
/ delimiters in the field.