I'm trying to find the month in a text written in German. (In an html file)
March is written "März".
I want to be sure that I catch it so I check
Marz, März, März
I tried to use this code
if(preg_match("/ma?ä?(ä)?rz/i", $title))
return 3;
It works fine for the first two, but doesn't with ä. What did I do wrong ?
(The HTML and my PHP files are encoded in UTF8)