Have a document with multiple multi-line sections that look like:
[[
this
is
an
example
]]
Would be great to have a regex statement that could iterate through the document and remove all the lines between the bracket sets, leaving one blank line between like
[[
]]
CodePudding user response:
find
\[\[(.*?\r\n)*?\]\]
replace with:
\[\[\r\n\]\]