Hi @mosucaa,
If I understand you correctly, can you try to see if this code works:
regex(., ‘^[0-9]{1,12}$’)
Best,