Basic Examples (11) 
Find all subexpressions:
Find subexpressions that match a pattern in the exact same position:
Find subexpressions with any inner expression matching a specified pattern:
Find subexpressions with any outer expression matching a pattern:
Find subexpressions that have any inner expression matching a specified pattern and relative position:
Find subexpressions that have any outer expression matching a specified pattern and are positioned at given relative position to it:
Find subexpressions with any inner subexpression not matching a specified pattern:
Find subexpressions with all inner subexpressions not matching a specified pattern:
Find subexpressions with all outer expressions matching a specified pattern:
Find subexpressions with combined outer and inner matching patterns:
Find specific heads:
Options (6) 
OuterMode (2) 
Find subexpressions with all outer expressions matching a given pattern. The {1, 1} position corresponding to x is not present due to having an outer expression matching _g:
Find subexpressions matching outer expression with relative position. Positions {2} and {2,2} corresponding to g[y,z] and z are not present because they both have relative position {2}:
InnerMode (2) 
Find subexpressions having all inner expressions matching a given pattern. Positions {2} and {2, 1} of expressions g[y] and y respectively are not present due to both having inner expression matching y:
Find subexpressions having all inner expressions matching any but given pattern and relative position. Position {2} corresponding to g[y,z] is not present because it has inner expression matching y at relative position {1}:
Complement (1) 
Take a complement to the provided criteria:
Heads (1) 
Ignore heads:
Applications (2) 
Ignore subexpressions of patterns, conditions and pattern tests, except pattern variables themselves:
Find subexpressions of list elements together with labeled elements: