SequenceCases
SequenceCases[list,patt] gives a list of the sublists in list that match the sequence pattern patt.
SequenceCases[list,patt->rhs] gives a list of the values of rhs corresponding to sublists that match patt.
SequenceCases[list,patt,n] includes only the first n matches.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.