如何用c#替换word中的换行符 [英] How replace line breaks in word with c#
本文介绍了如何用c#替换word中的换行符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在单词中我按Ctrl + F.查找并替换符号^ p。这项工作很好。我不知道如何在c#
In word i make Ctrl+F. Find and replace symbol ^p. This work good. I dont know how make it in c#
推荐答案
看看这篇文章:
使用正则表达式查找和替换 [ ^ ]
查找和用于多行文字 [ ^ ]
或看到这主题:
如何使用C#.NET查找和替换word 2007中的文本?
如何在c#中查找和替换文件中的文本 [ ^ ]
希望它有所帮助! :)
Hi, See this article:
Find and Replace with Regular Expressions[^]
Find and Replace for Multiline Text[^]
Or see this threads:
How to find and replace text in word 2007 using C#.NET?
How to find and replace text in a file in c#[^]
Hope it helps! :)
find-and-replace-dialog-box.aspx [ ^ ]
检查链接..希望它会帮助..
find-and-replace-dialog-box.aspx[^]
Check the link..hope it will help..
http://stackoverflow.com/questions/13882558/adding-a-new-line-to-word-using-findandreplace-in-c-sharp [ ^ ] < br $> b $ b
http://www.wwco.com/~wls/blog/2010/07/03/find-and-replace-in-word-using-c-net/ [ ^ ]
希望这会有所帮助。
http://stackoverflow.com/questions/13882558/adding-a-new-line-to-word-using-findandreplace-in-c-sharp[^]
http://www.wwco.com/~wls/blog/2010/07/03/find-and-replace-in-word-using-c-net/[^]
Hope this helps.
这篇关于如何用c#替换word中的换行符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文