I have a question about regex - and no, it's not about parsing html. :p
So i have a regex that i want to convert into a Perl regex. This is related to field validation in the Formbuilder module. Formbuilder requires Perl regex. So my regex is
Code: Select all
[0](\d{9})|([0](\d{2})( |-)((\d{3}))( |-)(\d{4}))|[0](\d{2})( |-)(\d{7})
Question: Is this acceptable to use as is in Formbuilder; and if not, what should the Perl equivalent regex look like?