Google-sheets – How to extract desired text from a cell

formulasgoogle sheetsgoogle-sheets-arrayformulagoogle-sheets-queryregex

As you can see below I have these data in single cell I want only car nos as my result

enter image description here

Best Answer

Please use

=QUERY(IFERROR(INDEX(REGEXEXTRACT(C2:C;"(\w+) onb")));
         "where Col1<>'' ")

enter image description here

(do adjust ranges and formula according to your locale)

Functions used: