# Delete between square brackets [closed]

How do I delete all text between square brackets (including the square brackets) in calc cells throughout the document?

edit retag reopen merge delete

### Closed for the following reason the question is answered, right answer was accepted by Alex Kemp close date 2015-10-26 15:45:27.969033

Sort by » oldest newest most voted

In @mariosv's answer replace his [.*] with $.*$

more

Right Whalley, I copy form LIbreOffice the expressión, and the esc \ are not showed.

( 2013-03-09 18:00:36 +0100 )edit

You can also use 4+ spaces to indent lines, which then gives syntax-highlighting (not so important in this case), monospace font, and (in most cases) no need to escape characters:

$.*$

( 2013-03-09 18:52:00 +0100 )edit

With find & replace (Ctrl+H),
in find: $.*$
in replace (nothing):
mark regular expressions,
Replace all.

edited: is needed \\ to show a \ here.

more