Get the contents of cells of given styles in a notebook.

As Expressions...

Get the expressions in a notebooks Input cells:

  • If no import form is specified, expressions in Input cells are returned wrapped with HoldComplete, while expressions in Output cells are not.

As Cell Expressions...

Get the raw Cell expressions of a notebook's Input cells:


As Text Strings...

Get the text of Section cells in a notebook: