How can I search for regular expressions like 'foo|bar' on webpages using Google Chrome or IE? I'm aware of the "Regular Expression Searcher" extension, but it does not work for me. (Nothing happens when I hit slash.) The reviews on the web store indicate that this is a common problem for many users.
Regular Expression Search from Google Chrome.
Maybe you want try this at chrome's console:
Just open console, copy and paste above to consele and hit enter. You can test it here at this page.
Here we print to console match indexes and matched text. Here we try to match text that contains
Also try this, it will paint background of all matches on page red, rexexp is not perfect but at least it should not mess with HTML tags:
Another way to use this is through
For example, using
not really a search, but I found this regexp highlighter (that I found somewhere) quite useful, and works for all browsers.