I have this already working code
preg_match ('/^\p{L}[\p{L} _.-]+$/u', $address);
but it only validate characters, I just want it to accept numbers as well.
I have this already working code
preg_match ('/^\p{L}[\p{L} _.-]+$/u', $address);
but it only validate characters, I just want it to accept numbers as well.
The question isn't clear but as far as I can understand you need to match numbers as well .
^[\d\p{L}][\d\p{L} _.-]+$
in PHP
preg_match ('/^[\d\p{L}][\d\p{L} _.-]+$/u', $address);