すべてのフォントタグ内のコンテンツを色と一致させたい:
inside html <font color="#000000">this should be matched</font><font color="#777777">this shouldn't be</font><font color="#000000">this should be matched too</font> inside html
しかし、次の正規表現を使用すると:
<font color=\"#000000\">(.*)<\/font>
#77777 の色を持つものを含む、最初の font タグで始まる文字列全体に一致します。誰かが私が間違っていることを教えてもらえますか?
ありがとう