Possible Duplicate:
preg_match() Unknown modifier '[' help
I am trying to match this pattern
$regex_pattern = '<td id="(\w+)" class="(\w+)">(\w+).com<\/td>';
preg_match_all($regex_pattern, $result, $matches);
print_r($matches);
But I am getting this error: Warning: preg_match_all(): Unknown modifier '(' in
What's wrong in my regex pattern?