Hi all,
Please help me with this, I have a requirement to use multiple regex to validate a mobile phone number field on a basic form within Power Pages, these are:
1 - ^(07\d{8,12}|447\d{7,11})$
2 - ^[\x00-\x7F\xA0-\xFF]+$
I am trying to use basic form metadata on the field, but have seen that it is not possible to have 2 different basic form metadata pointing at the same attribute. So, I have combined these RegEx using the following expression:
3 - ^(07\d{8,12}|447\d{7,11})(?=[\x00-\x7F\xA0-\xFF]+)$
Which has been tested and validated using regex101: build, test, and debug regex
However, in power pages even when I input a valid uk mobile number e.g. 07788899900 the error message for the metadata still shows, not allowing me to submit the form.
Am I missing something here? Does a basic form Metadata only allow a single RegEx?
Please advise
Fubar
69
Super User 2025 Season 1
oliver.rodrigues
49
Most Valuable Professional
Jon Unzueta
43