Hi, I'm trying to write code to update nightly some NHL stats. Everything works, except for names with an accent, e.g. José Théodore. This won't generate a match no matter what I try. I've edited the code to show the relevant pieces. What I use:

[PHP]
$data = file_get_conten ts('http://avalanche.nhl.c om/team/app?service=pag e&page=Stats' );

$regex = '/'.str_replace(" ", "\s", $row2['name']).'<\/a>\n<\/td>..............