<a href="http://google.com/hugahuga">ヒットする</a> <a href="http://yahoo.com/hugahuga">ヒットしない</a> <a href="http://yahoo.com/q=http://google.com&hoge=fuga">ヒットする</a>
a[href*="google.com"] { color : red; }