How can I search for expressions like 'foo|bar' on webpages using browsers like google-chrome or firefox?

link|improve this question

73% accept rate
feedback

1 Answer

up vote 1 down vote accepted

For Google Chrome, you could install one of the following extensions:

  1. Regular Expression Searcher

    This extensions allows you to search web pages using regular expression. It uses VI-style keystrokes.

    To start searching, press the slash key ('/'). Enter any JavaScript-valid regular expression and then press enter. All matches will be highlighted in yellow. You can then use 'n' to move to the next match (which will be scrolled into view and highlighted in orange). Pressing 'N' (i.e. shift-n) will move to the previous match. To clear the highlighting, press the slash key again, delete the regular expression, and then press enter.

  2. Regular Expression Search

    A simple search utility that allows you to search a web page using regular expression.

    ==== Features under development ====

    1. toggle through found results
    2. improved UI
    3. toggle between case sensitivity
    4. create shortcut for toggling the extension
    5. Allow pressing "Enter" key when searching (instead of clicking on search button)
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.