Hi guys,
i have asked for help about this in a previous post which was resolved, however, how do i make the code below also allow spaces?
(preg_match('/[^a-zA-Z]/i', $street)
TIA Shaun
(preg_match('/[^a-zA-Z ]/i', $street)
Of course, since you're using the 'i' modifier, you could simply say:
preg_match('/[^a-z ]/i', $street)