Extract specific cells from students' notebooks

Yes. The ideas demonstrated in this example can be modified to do that. In that example the cells are examined and just the ones that are markdown are kept. You could instead examine the source of the cell and if it contains a string, you do something to that cell and then append the modified version to the list of cells. All other cells just get appended to the list of cells.

1 Like