http://cathalscorner.blogspot.hk/2010/06/cathal-why-did-you-create-docx.html

using (DocX document = DocX.Load(@"C:\source\3.docx"))
{
  Formatting mFormatting=new Formatting();

  document.ReplaceText("«bbbb»", "bbbaaaaaaaaaaa",

  false, RegexOptions.Singleline, null, null, MatchFormattingOptions.ExactMatch, true, true);

  document.Save();

}

最新文章

  1. HTML5- Canvas入门(四)
  2. ABP 初探 之 多语言
  3. flex 布局笔记
  4. 【GoLang】golang context channel 详解
  5. Android TextView 显示不全的自动补齐方式
  6. 数据库性能优化:SQL索引
  7. WP开发笔记——不同Item显示不同ApplicationBar:适用于Pivot与Panorama
  8. Codeforces Round #272 (Div. 2)
  9. java中-静态代码块、构造代码块、构造方法的联系
  10. Mindset + Know-how+Concepture + Methodology+Technology
  11. 向.net后端发送请求获取数据,在前端动态填充表格
  12. windows的DOS窗口如何修改大小
  13. input【type="checkbox"】标签与字体对齐
  14. Linux中的 openssl-opensslv
  15. LeetCode108.将有序数组转换为二叉搜索树
  16. 干货|基于 Spring Cloud 的微服务落地
  17. ubuntu18.04配置nvidia docker和远程连接ssh+远程桌面连接(二)
  18. 快速排序C++实现
  19. Steps to configure a FileShare Quorum Witness for Windows Failover Cluster
  20. Linux 压缩文件的命令行总结

热门文章

  1. oracle DBlink 【转】
  2. 软件调试——IA-32 保护模式下寄存器一览
  3. Ubuntu下使用SVN
  4. About Mysql 5.7 Installation
  5. web基础知识小记
  6. delphi IOS 获取电池信息
  7. 我个人结合到老师的来理解的——Asp.net Webform的页面生命周期
  8. Nginx 和 PHP的安装配置
  9. Windows2008 R2 Enterprise离线安装IE10和VS2015过程记录
  10. 为控件Button设置快捷键(组合键)