I constructed the following regex
preg_match_all('#(autom(.*?)tic|(.*?)anual)#', $str2b, $gears);
but I want to change it to match greek characters. I would like to match the words βενζίνη
and πετρέλαιο
but I don't get it to work.
preg_match_all('#(βενζί(.*?)η|πετρέλ(.*?)ιο)#', $str2b, $gears);
How can I do this?