Joel Rothschild

Results 2 comments of Joel Rothschild

Regex is certainly a powerful solution. It would look something like: ``` - name: field_62cac646-c6c0-4b48-8637-86b77d2c9700 selector: "#field_62cac646-c6c0-4b48-8637-86b77d2c9700" value: "$PHONE" regex_match: "([0-9]{3})([0-9]{3})([0-9]{4})" regex_replace: "($1) $2-$3" required: true ``` I was going...

Sounds good to me. Like so: ``` - name: field_62cac646-c6c0-4b48-8637-86b77d2c9700 selector: "#field_62cac646-c6c0-4b48-8637-86b77d2c9700" value: "$PHONE" options: match: "([0-9]{3})([0-9]{3})([0-9]{4})" replace: "($1) $2-$3" required: true ```