Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to search for phrases using regular expressions on sites such as Wikipedia and Wikimedia Commons. Is it possible to do this?

Example regex search query: (facebook|google) (corporate history|websites)

It's already possible to do the same on Google (as demonstrated here), so I want to know whether it's possible for Wikipedia as well.

share|improve this question
Would you be willing to download several gigabytes of data and do all of the filtering on your own computer? – svick Aug 2 '12 at 19:46
It appears that is possible to do this using AutoWikiBrowser: en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser/… – Anderson Green Aug 2 '12 at 19:46
You can use AWB to search a certain page (or a set of pages), but not the whole wiki, which I was assuming is what you wanted. – svick Aug 2 '12 at 19:48
Yes, I wanted to search the entire wiki. Are there any tools on the toolserver for this? – Anderson Green Aug 2 '12 at 19:50

It is possible to search Wikipedia (or any other site that a search engine can access) using simple regular expressions, as long as you rely on an search engine. The following Google search query searches Wikipedia for matches of the regular expression (Yahoo|Google|Microsoft):


share|improve this answer

If you're only interested in doing a regex search of Wikipedia titles, Crossword Nexus allows you to do that. http://crosswordnexus.com/wiki

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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