<?php $phone_number = '+380936109511'; if ( ! preg_match('/\s\d{12}/', $phone_number) && ! preg_match('/\d{10}/', $phone_number)) { throw new Exception('Not valid phone number format'); }
You have javascript disabled. You will not be able to edit any code.