I want to validate a phone number. For example, one shouldn't able to store a number like the following: '07911 123456', '079 11123456', '0791112 345 6'.
What I've tried:
'number' => ['required', 'number', Rule::notIn('07911123456')],
I've already tried the regex rule(https://laravel.com/docs/6.x/validation#rule-regex), but it doesn't do exactly what I want. White spaces may allow but, the number which is not allowed shouldn't allow. No matter how many white spaces are included.