Sure thing. You can use Extended Regular Expression and come up with the following expression:
.\*\(\d+\).\*
the previous expression will look for a sequence of digit (a number) preceded by a string that does not contains numbers so that \d+ is the first number encountered.
At this point \1 will contain the number matched by \d+.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence