---------------------------------------------------
文本情形如下:
[aa]
[]
[a
a]
如何处理为以[开头以]结尾的如下文本:
[aa]
[]
[aa]
解决方案:
查找目标:(^\[.*[^]])(\r)?\n
替换为:\1
---------------------------------------------------
文本情形如下:
[aa]
[]
[a
a]
如何处理为以[开头以]结尾的如下文本:
[aa]
[]
[aa]
解决方案:
查找目标:(^\[.*[^]])(\r)?\n
替换为:\1