我在C#中有一个RSS阅读器,我的问题是有些网站也在其Feed中显示图片,但我不需要它。这是如何从这个网站的新闻的描述看起来如下:使用正则表达式删除字符串的一部分
/calcio/calciomercato/2013/09/01-271389/Calciomercato?rssimage This is the actual news...
/calcio/calciomercato/2013/08/01-271389/Notizia?rssimage This is the real news...
/calcio/calciomercato/2013/05/01-271389/Esempio?rssimage The news...
如何删除实际新闻之前的所有文本?所有“不需要的部分”都以“?rssimage”结尾,那么我如何才能删除所有文本?另外,如何检查新闻是否包含这些不需要的文字?
谢谢!
编辑: 这是RSS: http://tuttosport.feedsportal.com/c/34178/f/619230/index.rss
这是desided输出: 的Gli emiliani vogliono未attaccante:IL Sogno的雷斯塔Belfodil,un'ipotesi concretaè弗洛罗·弗洛雷斯,马C'èanche IL cileno dell'Universidad
我biancoscudati sognano IL格兰德COLPO:在极端情况下
operazione佩罗艰难PERCHE萨托利dovrebbe POI trovare IL sostituto PROPRIOL'attaccante finoraèstato POCO impiegato TRA我铁托拉里,potrebbe andare票价ESPERIENZA:我friulani卤味饭能proposto人博洛尼亚TITOLO temporaneo
尝试显示您想获得的欲望输出 – meda
您可以发布*真实* rss和期望的输出吗? – I4V