This is a combination of two tips, both good to know, especially if you keep a lot of pages open in iOS Safari.
First, there’s this from MacRumors:
In a nutshell:
– Tap the “show all pages icon” at the bottom right. This will show all your open tabs.
– Pull down to reveal a “Search Tabs” field.
– Type in the field to reduce the open pages to just those that match the search. The non-matching tabs are still open, they are just not shown in this view.
This is cool enough. But then add this tip:
https://twitter.com/mxswd/status/1097251939480350720
Press and hold the cancel button and you’ll be prompted to close all the search-reduced tabs. This is handy.