Writer: How to search with a wildcard

I have several headings in my document that follow a pattern. I need to select them all so I can apply the same style to them all in one go.

Example of headings:

Grid #1 
Grid #2 
Grid #10 
Grid #50 
Grid #100 
Grid #110

Is there a way I can use the “Find & Replace” box to select them all (e.g. by clicking on the “Find all” button).

Check that Regular Expressions are activated.

SEARCH Grid #[:digit:]+

Every paragraph including this text will have selected text. Close FIND&REPLACE. Texts are still selected. Apply style.

See answer here: Writer How can I find text by attribute and replace with a style? (related problem)