Check out the LimeSurvey source code on GitHub!

Good regex for validating phone numbers?

More
5 years 2 months ago #70280 by mishpish
I'm looking for a regex for validating phone numbers. The ones in the LimeSurvey docs aren't working for me. I've tried dozens others out there. Any real suggestions? Thanks for your time and help!

Please Log in to join the conversation.

More
5 years 2 months ago #70314 by tpartner
Phone number formats vary depending on the country/continent so any regular expressions would be different depending on where you are.

Have a look at regexlib.com/

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: mishpish

Please Log in to join the conversation.

More
5 years 2 months ago #70317 by Mazi
A collection of regex can also be found here: docs.limesurvey.org/Using+regular+expres...tions+for+LimeSurvey


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form