You can add a final condition using TRUE as the last condition in ifs, which always evaluates to true and acts as a catch-all fallback:
ifs(
regex_match(string(A), "^\d+$"), "X",
regex_match(string(A), "[a-zA-Z]"), "Y",
regex_match(string(A), "\."), "Z",
TRUE, "fallback value"
)
If none of the previous conditions are met, the TRUE condition will always match and return your fallback value. [Custom Properties]
Note: Without this, ifs returns undefined when no conditions are met, which may cause the property to appear blank in your reports.