2013-07-28 25 views
0

我是新手。正則表達式在每個|之後添加新行以毫秒爲單位

我只是想在Microsoft Word中的每個|字符串後添加一個新行(新段落)。

我:

text. text text.|text text text.|text. text text.|text text.text. 

,我希望它看起來像這樣:

text. text text. 
text text text. 
text. text text. 
text text.text. 
+0

http://regexr.com?35o81 – hjpotter92

+1

不是編程相關的,因此更適合superuser.com –

+0

另外,不需要正則表達式,在那裏?簡單的搜索和替換有什麼問題? –

回答

1

在查找/替換對話框,搜索|^p全部更換。不需要正則表達式。

+0

非常簡單的解決方案。它正在工作。謝謝 – becoolflyer

2

爲什麼是正則表達式?

enter image description here

使用^p^13在更換和|在搜索框中

命中更換所有

+0

空間太大....裁剪圖像(或徒手畫) – hjpotter92

+0

@ hjpotter92完成,謝謝 – P0W