Je rencontre un problème de style "matcher" css dans un texte. Je veux obtenir le style suivant:Comment faire correspondre un texte de style css en C#
de style Recherche
<a id="d325" style="color: #ffffff;"> Visio Infrastructure and Applications </ a>
Regex occasion:
Regex myRegex = new Regex(@"<a id=""d(.+?)"" style=""(.+)"" ><\/a>");
Je pense que le problème est style = "color: # fffff"
, mais je ne peux pas comprendre.
Merci beaucoup
Jetez un oeil à cela pour obtenir des informations sur votre code HTML. https://github.com/jamietre/CsQuery – albertjan