Hi all,

I created a regex for matching mobile number ..

$search = preg_match_all("~(\d{1,}\s?|\d?\s?\(\d{1,}\)|\d{1,}-)?\s{0,}\d{1,}[.\s]?/?[.\-]?[.\s\-\s]?\d{1,}[.\s]?\d{1,}[.\s]?[.\-]?[.\s\-\s]?\d{1,}~",$text,$matches);




It works fine with most phone numbers, but sometimes it doesn't work ..
This is a sample of a working number : + 2 010 5646024
and this is a sample of a not working number : + 2 385 230 61
I don't understand why the second number + 2 385 230 61 is not matched ...
N.B When I add any integer to the second number , it works , eg + 2 385 230 611

So how can I edit my regex to match the second number?

Regards,