Remove text between bracket&quote

Your screenshot clearly shows you have typographical quotes in your test case, not straight quotation marks.

image_2021-10-14_103220
There are paragraphs in the text. I can remove the paragraphs but the syntax doesn’t catch the test pattern.

Removing the paragraphs is a tedious manual process. You can then manually remove the data instead.

Removing paragraph markers is done with the $ sign, I can replace the paragraph markers easily. But the syntax doesn’t catch the test pattern, so until the test pattern is recognized, there’s no point in replacing the paragraph markers.

I remember it is possible to remove the paragraph marks by search and replace but have to look up the details…

Your test failed because of other quotation marks, or it would have worked.

In your original data it failed because of the paragraph marks…

The $ sign is the syntax to find a paragraph in the writer search box.

So how to make it work with the quotation marks given?

so try again with regex: \[“.+?”\] (copy and paste the pattern from here)

And use your own question above as test.

But it will be altered on quoting, so we need fenced quotes:

["this is random text that will be removed along with the quotation marks and brackets."]

I copied and pasted you quotes and it works. So how did you get those particular quotation marks? I will remove all the paragraph markers and then use your syntax. Should work.

On this site it is a feature:

In writer it depends on your locale while typing…

If in doubt I just copy from my text and paste to the search box ( there are several hyphens and I know of 5 variants of space in UniCode )

Press Ctrl+H (Find and Replace)
enter “.*”