How-to guide

How to search your browsing history with regex

Type a regular expression between slashes, like /hotels? in (lisbon|kyoto)/. It matches page titles and addresses.

Tested in Chrome 155 and History Monk 0.1.4 Free for 7 days No account

Quick steps

Search with a pattern in two steps

  1. Type the pattern in slashes

    Like /pull/\d+/. Matches are highlighted as you type.

  2. Add other filters

    site:, after: and the rest work next to the pattern.

  3. Or switch on regex

    The .* button next to the search box turns the whole box into a pattern.

Before you start: add History Monk from the Chrome Web Store or Firefox Add-ons. The Chrome Web Store version also installs in Edge.

A regular expression, or regex, is a search pattern. Use one when plain words can’t say what you want, like “hotel or hotels, in Lisbon or Kyoto”.

Step 1: Type the pattern between slashes

Click the search box and type the pattern with a / on each side. History Monk matches it against every page title and address, and highlights the match.

History Monk search for /hotels? in (lisbon|kyoto)/ listing pages such as Booking.com : Hotels in Kyoto and hotels in lisbon - Google Search
/hotels? in (lisbon|kyoto)/ finds 13 pages. s? makes the s optional and | means or.

Patterns are a good fit for addresses that follow a format. This one finds hotel searches with a check-in date in November 2026:

History Monk search for /checkin=2026-11/ listing Booking.com search pages with checkin=2026-11 highlighted in the address
/checkin=2026-11/ finds 28 Booking.com searches.

Step 2: Mix the pattern with other filters

Type filters before or after the pattern. They narrow the list together:

Type thisWhat it finds
site:github.com /issues\/\d+/GitHub issue pages. \d+ means one or more digits, and \/ is a slash inside the pattern.
/pull\/\d+/ after:yesterdayPull requests you opened since the start of yesterday
/(lisbon|kyoto)/ -site:google.comPages about Lisbon or Kyoto, without Google searches

Step 3: Or turn the whole box into a pattern

If you don’t want to type the slashes, click the .* button at the right of the search box. Everything you type is then read as a pattern, and a Regex chip appears under the box. Click the button again, or the chip’s ×, to turn it off.

History Monk with the regular expression button switched on, booking.*(lisbon|kyoto) in the search box and a Regex chip showing 20 pages
With the .* button on, booking.*(lisbon|kyoto) finds 20 pages.

Tips

  • Capitals are ignored. Turn on Match case with the Aa button if they should count.
  • A broken pattern finds nothing. If the list says No pages match, check for an unclosed ( or [.
  • Typos are not corrected. A pattern is searched exactly as you typed it.
  • Search titles or addresses only. In Filters, set Match to Title only or URL only and the pattern looks only there. See how to search by title or address.

FAQ

Questions about regex search

Does History Monk support regular expressions?

Yes. Put the pattern between slashes, like /pull\/\d+/, or turn on the .* button next to the search box. The pattern is matched against each page title and address.

Is the regex case-sensitive?

No. Capitals are ignored unless you turn on Match case with the Aa button.

Why does my pattern find nothing?

A pattern with a mistake in it, like an unclosed bracket, matches nothing, and the list says No pages match. Check the brackets and escape a slash inside the pattern as \/.

Does typo correction work with regex?

No. A regular expression is searched exactly as you typed it.

The wise search once. History Monk remembers the rest.