RegExp-Find

By Richard H. Tingstad Last update Oct 2, 2009 — Installed 138 times. Daily Installs: 0, 2, 0, 0, 1, 0, 1, 0, 0, 1, 0, 2, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 2, 0, 0, 1, 0, 0, 0, 0, 0
Script Summary:
Regular expression find, search web pages.

Remotely hosted version

Script homepage

Recently Updated TopicsPosts
it is very easy to add igno...2

this script has 1 topic, 2 posts

This script has no reviews.

This script is exactly what its name suggests: RegExp Find.

Works much like regular find in browsers, but is JavaScript and supports (to a certain degree) regular expressions.

One can press (default) Ctrl + Shift + F to Find, Ctrl + Shift + N jumps to the Next match.

The "Next match" function is supposed to mimic the less Linux command, which scrolls until the match is at the top of the screen, and stops only once per line.

Unfortunately, there are currently some limitations:
* Works only in HTML documents, not e.g. pure text files.
* Capturing groups/parenthesis can not be used.
* No way to match beginning or end of HTML element contents.
* Jumping from one match to the next is not perfect.
* Does not match "across" HTML tags.

Tested in Firefox and Opera.