How do I search a page using a regular expression in Firefox?

58

15

I want to use regular expressions to search a page in Firefox.

Is this possible?

BrunoLM

Posted 2010-11-08T19:39:35.910

Reputation: 3 675

4Please change your accepted answer. The one you picked years ago is about an extension that isn't being developed anymore. – None – 2016-01-08T01:20:58.573

Answers

15

Fastest Search

Best text search on page/in tabs - count/regex/match distribution/list/find-as-you-type. Fastest Instant web/history search in URLBar. Best custom search and multi-tab preview in any box or for selected text. Autocopy, dnd link/image.

Oleg Svechkarenko

Posted 2010-11-08T19:39:35.910

Reputation: 367

Couldn't make it work on Mac – Christian Vielma – 2016-02-16T12:04:17.143

5No longer compatible. – Jacktose – 2018-08-23T23:26:33.503

4Not available anymore – wjandrea – 2019-07-17T16:47:55.703

12I won't put -1, but to me, this addon is too much bloated... – Display Name – 2013-09-22T09:25:51.960

14

Since the other alternatives offered here have been left in the dust of technological change, and rendered incompatible with latest versions, I'll drop the two current compatible addons I found (though I haven't tested them):

  • Regex Search
    Search in HTML or Highlight using Regular Expression (REGEX) and output the results using template, with saving profiles functionality, you need to know 'basic' Regular expression to benefit from this plugin
  • {find+}
    {find+} is a simple Find-in-Page extension hosting a the ability to search a web page or document by regular expression. It has been designed to look and behave much like the CTRL-F function, but extended to provide a feature-rich and robust user experience with the aim of completely replacing the native Find-in-Page tool.

André Levy

Posted 2010-11-08T19:39:35.910

Reputation: 286

Neither "Regex Search" nor "{find+}" give results for \p{IsCyrillic} on page full of text in Russian. – izogfif – 2019-01-29T06:59:27.120

Upvote only for {find}+ since it acts as find but regex search doesnt highlight in the page. – Mark – 2019-08-14T10:11:03.200

11

Yet another option matching my needs very well is Regex Find which is open sourced. It's simple, though it may not be so polished.

Screenshot

Bohr

Posted 2010-11-08T19:39:35.910

Reputation: 466

3I honestly prefer this way more to @Oleg's answer of Fastest Search. IMO it's super bloated and kinda confusing, I love the fact that Regex Find is integrated into the native Firefox search – Jeeter – 2016-07-13T19:57:06.160

5

Does currently not work with Firefox 50: https://github.com/mortalis13/Regex-Find/issues/6

– tlo – 2016-11-26T20:35:22.493

@tlo: some instructions in the about field on how to run it on current versions, if you like to live adverturously.

– André Levy – 2018-07-27T00:16:57.410

3Not available anymore – wjandrea – 2019-07-17T16:47:58.300

4

XUL/Migemo

This includes 3 features about the find toolbar. First, the dictionary-assisted find. Second, more customizable Find Toolbar. Third, the highlight feature like Safari 3.

harrymc

Posted 2010-11-08T19:39:35.910

Reputation: 306 093

1Not available for FF6 yet ... – Peter Nore – 2011-08-17T19:37:47.277

@Peter Nore: You can try to turn off the compatibility checking. I am still using add-ons from FF4 that are supposedly not compatible, and most of them work just fine. – harrymc – 2011-08-17T19:47:46.963

1How do you activate the regex search functionality with XUL/Migemo? – user48604 – 2011-09-02T14:19:41.490

4It seems development on this plugin has stopped. The last updated date on the addon page is July 13, 2010. – Ashutosh Jindal – 2012-12-17T17:50:55.553

1yeah shame, not available for latest versions of Firefox! any alternatives? – Charbel – 2014-03-27T09:23:00.447

1

@Charbel: There is a good chance that XUL/Migemo can still be forced to work. A quick google for "firefox add-on compatibility" got me this article, but there are many more useful results.

– harrymc – 2014-03-27T11:51:07.577