RegEx possible in search tool?

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
User avatar
Posts: 176
Joined: 2014-09-14, 20:41
Location: USA

RegEx possible in search tool?

Unread post by gi_jimbo » 2023-02-07, 14:42

Is it possible, through some special identifier syntax or possibly using a Pale Moon extension, to use regular expressions in the page search tool? ("Find in page" initiated by Ctrl + f)
It would be awesome if there were a checkbox along with the "Match Case" and "Whole Words" checkboxes to enable RegEx syntax.

- James

Why I love Pale Moon: viewtopic.php?f=4&t=11079#p77697

Keeps coming back
Keeps coming back
Posts: 976
Joined: 2012-06-08, 12:14

Re: RegEx possible in search tool?

Unread post by Blacklab » 2023-02-07, 16:09

FWIW - A quick online search finds these topics on the subject with several suggestions e.g in top link's SuperUser Q&A: ... in-firefox

The 'Fastest Search' Firefox extension suggested in the first StackExchange reply (link above) is, as noted in the answers, no longer current. However, if interested, you can still find copies of that Addon by using WayBackMachine (WBM) to search for old versions of that particular Firefox Addons page: ... st-search/

Select a year... pick a WBM snapshot... and with luck the page snapshot taken by WBM will also allow you to download the Addon .xpi too: ... st-search/

Note 1: To download the Addon's .xpi file to desktop... hover on the green '+ Add to Firefox' button > Right Click > Save Link As...
Note 2: Not all WBM snapshots will have 'onward links' saved so you may have to try several different snapshots... and then be aware that WBM will sometimes automatically 'link' you to another 'onward link' page with the same address that WBM has saved... but from a different date... so, you may find you get a different version of the .xpi downloaded than the one you were expecting!

Fastest Search v3.39.2 does load correctly into Pale Moon AFAICS, not tested further, looks pretty complex! Maybe worth a try... but do try it on a clean profile first... just in case! :)

PS. Another SuperUser topic 'How to run a regex search on Google Chrome or Firefox?' similarly discusses the subject and one suggestion is a much simpler Addon 'Regex Find'... also saved on WBM: ... egex-find/
Finding a working .xpi file is more of a struggle... but a copy of Regex Find v1.1.3 from WBM in early 2017 loads into Pale Moon correctly... and just adds a 'Regex' checkbox to the Ctrl-F findbar. Test with care on a clean profile... might do the trick? :)
(22.4 KiB) Downloaded 5 times

Post Reply