how to validate phonenumber with out using localvariable?
Discussion posts and replies are publicly visible
If you are capturing the value, then to store the value, you will need to have a variable. It can be either a Rule input or a local variable. If you are trying to validate an existing value, then you can do it without a variable.
Both ways have multiple ways of doing it.