本帖最后由 ChaoYang0502 于 2012-07-08 15:37:38 编辑

解决方案 »

  1.   

    查找目标:(?<=<image url="\.\./)big(?=/.*?" type="列表">)
    替换为:list
      

  2.   

    就你给出的这段文本试过是可以的,我在NotePad++里试的。
      

  3.   

    (?is)(?<=<image\b[^>]*?url="\.\./)big(?=[^"]*?"[^>]*?type="列表"></image>
    string str=@"源数据";
    string pattern=@"(?is)(?<=<image\b[^>]*?url=""\.\./)big(?=[^""]*?""[^>]*?type=""列表""></image>";
    str=Regex.Replace(str,pattern,"$0");
      

  4.   


    查找目标:(?<=<image\b[^>]*?url="\.\./)big(?=[^"]*?"[^>]*?type="列表"></image>
    替换为:list