If you have any questions or problems, no matter what they are, leave me a message on my talk page. Or, please come to the new contributors' help page, where experienced Wikipedians can answer any queries you have! Or, you can just type {{Help me}} on your user talk page, and someone will show up shortly to answer your questions.
Please sign your name on talk pages and votes by typing four tildes (~~~~); our software automatically converts it to your username and the date.
We're so glad you're here! Meatsgains(talk) 02:58, 20 November 2019 (UTC)
Searching Wikipedia with regular expressions (regex)
Searching with regex online
To search Wikipedia live with regular expressions, use the insource: parameter, followed by your regex search string enclosed in forward slashes, like this: /regular expression/. Here is an example:
insource:/(Abraham|Abe) Lincoln/
insource searches the wikitext version of articles, and so, wikiformatting codes can be included in the search string. If any characters you wish to find are used as special characters within regex, they will need to be "escaped" by preceding each with a backslash. For a cheat sheet on writing regexes, see Wikipedia:AutoWikiBrowser/Regular expression.
For case insensitive searches, include an "i" after the closing forward slash.
Searching with regex offline
To search all of Wikipedia offline using regex, you need to download the Wikipedia database and do the search offline with AutoWikiBrowser's Database Scanner. Activate it from the tools menu in AutoWikiBrowser (AWB). It returns the names of the pages that match your query, which you can have sent directly to AWB's list maker (then you can use AWB to view them all). The Database Scanner has many features, and each query can be easily configured to match, exclude, specify namespaces, ignore redirects, etc. as you see fit.
Other methods of searching Wikipedia with regular expressions