How do I remove some/all images in Writer using "find and replace"?

I have been looking this for a long time but couldn’t find any easy solution. I really like “find and replace” feature in MS Word. Possibly this is the only feature keeping me away from libreoffice.

I want to remove a few/all images in Writer. How could I do that? in word I simply have to find ^g.

Thanks in advance.

Try AltSearch extension.

Note that the last version (1.4.1) may not work because of a bug: missing patenthesis (if you replace +chr(10+chr(10) with +chr(10)+chr(10) in Local1.xba, it will work).

Also you may use Navigator to remove images without any Find/Replace.

Thanks for sharing the extension. That works for replacing one by one string but when I hit replace all it gives runtime error:

BASIC runtime error.
An exception occurred
Type: com.sun.star.lang.IndexOutOfBoundsException
Message: .

oTmp = AltSearchDoc.GraphicObjects.getByIndex(i) ’ objekt obrazku

If you consider to use a “macro” you may adapt the one from my answer to this question. A dialog may be added.