Quick demo for how to validate phone number text input with RegEx. Cheers.

Video
Formula
If(
Not(IsMatch(TextInput1.Text, “[a-zA-Z0-9]*”))&&!IsBlank(TextInput1.Text),
RGBA( 255, 0, 0, 1 ),
RGBA(0, 18, 107, 1)
)
Supports Input Pattern
123-456-7890
(123) 456-7890
123 456 7890
123.456.7890
+91 (123) 456-7890