从c#中的匹配字符串中删除字符串 [英] Remove String from matched string in c#
问题描述
i有如下字符串
< purchaseorder xmlns =http ://schemas.datacontract.org/2004/07/Varsun.ERP.POS.Entitiesxmlns:i =http://www.w3.org/2001/XMLSchema-instancexmlns:z =http:/ /schemas.microsoft.com/2003/10/Serialization/z:id =i1>
i想删除上面的字符串
xmlns:z =http://schemas.microsoft.com/2003/10/Serialization/
注意:上面的字符串看起来像xml格式。
提前谢谢
Kiran U
Hi,
i have a string like below
"<purchaseorder xmlns="http://schemas.datacontract.org/2004/07/Varsun.ERP.POS.Entities" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" z:id="i1">"
i want to remove below string in above
xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"
Note: above string look like xml format.
Thanks in advance
Kiran U
推荐答案
您能否提供更多详情。
这篇关于从c#中的匹配字符串中删除字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!