I need help with regular expressions. My string contains unicode characters and code below doesn't work.
First four characters must be numbers, then comma and then any alphabetic characters or whitespaces... I already read that if i add /u on end of regular expresion but it didn't work for me...
My code works with non-unicode characters
$post = '9999,škofja loka';;
echo preg_match('/^[0-9]{4},[\s]*[a-zA-Z]+', $post);
Thanks for your answers!