Is there a way to mass delete text without deleting the text frames in Indesign?

I'm trying to delete text in non-linked text frames without having to individually click inside each one, select all, and delete. Is there a faster way of doing this?

211k 21 21 gold badges 297 297 silver badges 572 572 bronze badges asked Feb 9, 2015 at 19:49 31 1 1 gold badge 1 1 silver badge 3 3 bronze badges

4 Answers 4

Yes -- but since it requires multiple text frames to be selected, it can only work on a single spread. You cannot select items 'across' spreads.

  1. Select the text frames to clear out.
  2. Call up the Find/Change dialog.
  3. Select the GREP tab.
  4. Make sure all fields (Find, Change, and formatting) are empty.
  5. Type in the top field (?s)^.+ , leave the bottom field blank. This is essentially "Find all continuous text".
  6. By default, the search range ought to be 'Stories' (it may be 'Story' if you only selected one single frame).
  7. Hit "Change All".

This is also scriptable and can be made to work on an entire document, but since a script works independent of any user input, you'd need some way of telling it what frames to clear out.

answered Feb 9, 2015 at 22:29 4,248 2 2 gold badges 15 15 silver badges 27 27 bronze badges

Nice tip. if you put the text fields you don't want deleted on a separate locked layer you can strip your entire document from text leaving you with a nice blank indesign template.

Same can be done with a script removing all images not positioned on a locked layer in your document.