Test, validate and match regular expressions
This PCRE regex (with global and ungreedy flags) matches one or more digits followed by at least one non-dot character, ensuring the match is not immediately followed by a period. It is particularly useful for capturing alphanumeric sequences like '17a' while explicitly avoiding numbered lists or decimals like '17.'.