C# string parsing problem -


I have a file that has been exported with the rows of a ton, in order to parse the file in a systematic order I want to be able to use it easily.

I have a sample string:

  & lt; A href = "http: //www.foxnews.com/us/2010/07/28/cemetery-allows-father-war-veteran-fly-flag-grave/? Test = latestnews" & gt; Agreement reached the graveyard flag & lt; / A & gt; | & Lt; A href = "#" onclick = "foxgrabplayer ('4295654', '' Humiliated humiliated family ''); Return back;" & Gt; & Lt; Img src = "/ i / redes / icon-video gif" & gt; & Lt; / A & gt; & Lt; Br> - & lt; A href = "http://www.foxnews.com/politics/2010/07/27/obama-missing-historic-boy-scout-jamboree-fundraisers-view-taping/" & gt; Obama gets out Scout for 'Scene' & lt; / A & gt; & Lt; Br> - & lt; Strong class = "em" & gt; You decide: & lt; / Strong> & Lt; A href = "http://www.foxnews.com/opinion/2010/07/27/decide-right-obama-miss-buy scout-zambori /" & gt; Call right? & Lt; / A & gt; & Lt; / Li & gt; " 

This is all line 1. The following:

  http://www.foxnews.com/us/2010/07 / 28 / Cemetery-Olose-Father-Var- Vitteran-Flag-Grave. Cemetery Flags http://www.foxnews.com/politics/2010/07/27/obama-missing-historic-boy-scout-jamboree-fundraisers -view-tapingloobama Scouts 'Exits for View'  

Details of the www for each of the row's descriptions. Hope this makes sense!

Take a look at the HTML agility pack. The first example is links to the hrefs Is:


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -