Is there any way for me to automatically select all cells that are completely empty? You know, those cells that you create but end up cutting what's in them and paste it somewhere else, so after a while you get a bunch of empty cells in your workbook (if you're sloppy as me at least).
My other question is, is there any way for you to automatically select all the cells matching a particular pattern (e.g. if I wanted to delete all cells that have Select[]
inside), or that have a style (text cells).
Thanks
" "
or"\n"
and is it empty cell too? You canNotebookRead
on cells but pattern approach for the content may be tricky to. What you see in notebook does not necessarily indicate unique box structure. But for detecting occurance ofSelect
it should be enough. $\endgroup$