Hey everyone,
Would it be possible to create a formula that determines if a string contains numbers or not? For example "abc123" would trigger true whereas "abcdef" would trigger false.
Thanks in advance!
Hey everyone,
Would it be possible to create a formula that determines if a string contains numbers or not? For example "abc123" would trigger true whereas "abcdef" would trigger false.
Thanks in advance!
Hi @louis.goode,
Welcome to the forum
Yes, it is possible to check for the presence of a digit/s in a string using the testregex function.
{formtext: name=string; default=abc123}
{if: testregex(string, "\d")}number is present{else}number is not present{endif}