I have street name as KRZYWOŃ ANIELI
and so what should be my regex to allow this kind of expression. Currently I have simple one which uses /^[a-zA-Z ]+$/
Kindly advise.
Use /^[\s\p{L}]+$/u
(PHP syntax).
Edit: Adjusted regex to better handle whitespace.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With